delete files date wise
how can i delete/remove files in linux using rm command data wise.eg i want to remove all files created before 25 oct 04 . thanx
|
see: "man find"
eg. Code:
find -ctime +10 -exec echo rm '{}' ';' or before that. (Take the "echo" word away to actually run the command instead of just printing it). |
All times are GMT -5. The time now is 01:29 AM. |