I want to delete any file in unix file system which is older then a week.
Those files should not be unix system file..means it should be user created file.
Any clue to this ??
ASAP.
Thanks.
I want to delete any file in unix file system which is older then a week.
Those files should not be unix system file..means it should be user created file.
Any clue to this ??
ASAP.
Thanks.
Please use the man page of find!
regards joerg
Thanks ..
I found ..
find /your_directory -mtime +7 -exec rm -f {} \;
Thats great !!