Est. Budget: $50.00
I need a bash script that will do a recursive search in a directory (/volume1/) for any files that have certain file extensions.
When these files are found the script should:
- check if the same file is found in directory (/volume2/)
- if the file exists in volume2 then:
- check when the file was created/modified
- if the file is X days old => remove it
- if the file doesn't exist in volume2 then:
- run a prebuilt script
- copy file to ...