mdkelly
01-08-2004, 03:00 PM
Hi all,
Okay, here is what I am trying to do.
I manage a Linux/Samba file server for the office I work in and I am trying to create a script/command that will find and remove all backup files that have not been modfied or accessed in the last 3 months, about.
I have been experimenting with the "find" command and "mtime" and can locate all the files that have been modified within whatever time frame I choose, but I need the opposite of that, the ones that haven't been.
Just a little stuck
Thanks
mdkelly
Okay, here is what I am trying to do.
I manage a Linux/Samba file server for the office I work in and I am trying to create a script/command that will find and remove all backup files that have not been modfied or accessed in the last 3 months, about.
I have been experimenting with the "find" command and "mtime" and can locate all the files that have been modified within whatever time frame I choose, but I need the opposite of that, the ones that haven't been.
Just a little stuck
Thanks
mdkelly