Script to delete files on schedule
Hi everyone,
Please help - I need a script that will run on schedule and delete folders and files from the NAS drive older than X days. Thanks |
Quote:
Otherwise, read the man page on the find command, and pay particular attention to the ctime/mtime parameters. |
Hi there,
You may want to look at the man pages for cron. Write a script to remove the X days old files, cron daemon will run the script for you at a specific time. http://en.wikipedia.org/wiki/Cron I hope this helped :) |
All times are GMT -5. The time now is 02:54 AM. |