rsync email notification on success and failure + Log

Sébastien Arpin sebarpin at
Tue Dec 29 17:12:17 MST 2009



I have a bash script for rsync that should tranfer all my filer from one drive to the other.


I would like to know how I can make the script sending me an email after the script is run and be able to know if it was a success or not and also if possible to include the log file.


This is my script:



rsync -av --delete --log-file=/home/duffed/RSyncLog/$(date +%Y%m%d)_rsync_Multimedia.log /media/Multimedia/ /media/MultimediaBackUp


Thanks a lot!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the rsync mailing list