PDA

View Full Version : How to remove file that specific date


Akumiling
12-18-02, 03:53
Hi,
I want remove files in AIX that only specific date.
Example: I want delete file that creation date 10-Nov-2002.
What's command?

Roelwe
12-19-02, 10:36
Check 'man ls' to list the files with a certain creation date and pipe the output to 'rm'

vanhoodoo
01-06-03, 05:17
Originally posted by Akumiling
Hi,
I want remove files in AIX that only specific date.
Example: I want delete file that creation date 10-Nov-2002.
What's command?
find /some/path -mtime 5 -exec rm {} \
this will del files 5 days ago