<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hi,<BR>
&nbsp;<BR>
I have a bash script for rsync that should tranfer all my filer from one drive to the other.<BR>
&nbsp;<BR>
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.<BR>
&nbsp;<BR>
This is my script:<BR>
&nbsp;<BR>
!/bin/bash<BR>
<BR>rsync -av --delete --log-file=/home/duffed/RSyncLog/$(date +%Y%m%d)_rsync_Multimedia.log /media/Multimedia/ /media/MultimediaBackUp<BR><BR>
&nbsp;<BR>
Thanks a lot!<BR><BR>Sébastien <BR><BR><BR><BR><BR><BR><BR>                                               </body>
</html>