Hi,

 

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:

 

!/bin/bash


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


 

Thanks a lot!

Sébastien 






                                          
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to