11-02-2007, 01:37 AM
|
#2
|
Member
Registered: Mar 2006
Distribution: BackTrack, RHEL, FC, CentOS, IPCop, Ubuntu, 64Studio, Elive, Dream Linux, Trix Box
Posts: 310
Rep:
|
Hi acwbrat,
This is what you wrote:
Code:
find -mtime +3 -exec rm {}
It should be like this:
Code:
to remove without asking again:
find -mtime +3 -exec rm -f {} \; (observer \;)
prompt before deletion:
find -mtime +3 -ok rm {} \;
Hope, this helps you,
Aniruddha
Last edited by imagineers7; 01-06-2008 at 09:19 AM.
|
|
|