Need Unix/Linux experts who can write Shell scripts for the following:
(on Ubuntu 9.x)
1: cron job to automatically delete files under a certain directory which are older than N days.
This should not delete certain files (like our program files). A list of such files will be
taken from a file
2: Manually delete the files with same constraints as above. Must be 'root'
3: This is enhancement to (2) above. Ask user if files (about to be deleted) should be archived into a .gz file. (GZip).
All the above require sufficient command-line parameters so that the script is flexible.
Appreciate if only experts bid on this project. Project needs to be finished within 5 days.
Greetings! I have something similar already available. This is written in Bash. If you need the scripts to be in any specific language (like Perl, Python, etc), please let me know. I may need about a day's time.