I am in need of a shell script whiich rsyncs a folder from a server to my machine. My major concern is not a script that rysnc's but it should send a mail if the rsync failed for some reason while copying the files.. For example the remote server might go down in the middle of the copying or my machine can also be down.
How can i impliiment this? I hope i would get some help from you guys..
Looking for your updates..