| shell question: delete files a week or more old shell, cycle, files |
rsmarsha

msg:3743368 | 10:58 am on Sep 12, 2008 (gmt 0) | Just wondering if anyone can help me with a shell script. I need to delete all csv files in a folder older than 7 days. I know how to delete and other basic shell stuff but not sure how to do it on files older than 7 days.
|
rsmarsha

msg:3743560 | 2:41 pm on Sep 12, 2008 (gmt 0) | Sorted it now, I used. find /var/www/html/fredflintstone/exported_orders/done -mtime +6 -exec rm -f {} \;
|
|
|