Bash script to delete old backups and notify if not there

Completed Posted Apr 26, 2010 Paid on delivery
Completed Paid on delivery

I am looking for a quick bash script solution. It will need to:

* cd into the backups directory

* delete all ZIP files older than x days from ALL subdirectories

* allow for specified subdirectories to be excluded

* if deleting files will leave none in directory, do not delete and send e-mail notification

The script should allow for spaces, underscores, dashes/hyphens, and periods in filenames. To prove that you've actually read this description and can follow instructions, please PM me with the phrase BASH201004. I plan to set up a cron job to run the script. Please let me know why I should be confident that you can do the job.

The following will need to be variables that I can set:

* backup directory

* excluded subdirectories

* number of days before files are targeted for deletion

* e-mail address to send notification to

Budget is $30.

Shell Script

Project ID: #670849

About the project

6 proposals Remote project Active Apr 26, 2010

Awarded to:

trezorg

Hi. I can do it. I have good skills in a shell scripting. My bid is 30$

$30 USD in 1 day
(3 Reviews)
2.6

6 freelancers are bidding on average $255 for this job

stels88

I can do this, my bid is $50.

$250 USD in 0 days
(3 Reviews)
3.4
llg

My bid is $100. It is more than 30. Others probably will challenge the price too.

$250 USD in 3 days
(0 Reviews)
0.0
sabertooth

I have the credentials to help your cause. Let me know if I fit into the scheme of things. My Bid is $50

$250 USD in 2 days
(0 Reviews)
0.0
Lightdev

I can do the script for you, for a very good price. Check PM please.

$250 USD in 0 days
(0 Reviews)
0.0
Pallavicm9

I have experience working in a project having same requirement. Hence can work on it easily.

$500 USD in 10 days
(0 Reviews)
0.0