I want to remove the files with name like data*.csv from the directory older than 10 days.
If there is no files exists to remove older than 10 days, It should not do anything.
on 05/23/2012 – Made popular on 05/23/2012
Below is my shell script and it will move the files older than 90 days to archive mount. Now my new requirement is , I need to move some of the directory files older than 365 days. How can I achieve this.
Simply I have
I need to exclude DIR 2 and DIR 2 directory older than 365 days files should be moved to another directory.