Quote:
Originally Posted by larrybg
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
|
Ok..we'll be glad to help you, but we will NOT write your scripts for you. There are many easily-found bash scripting tutorials; start there. Post what you've written/tried, and tell us where you're stuck.
Otherwise, read the man page on the find command, and pay particular attention to the ctime/mtime parameters.