Rsync command and verbose log
malarie at processia.com
Thu Apr 29 20:55:21 UTC 2010
If you are like me, I like receiving a confirmation email when the
backup is done. (I have automated backups with cron)
tail logfile.txt | mail -s "$DATE Bakup" you at yourcompany.com
From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Brian McKee
Sent: Thursday, April 29, 2010 4:27 PM
To: Ubuntu user technical support,not for general discussions
Subject: Re: Rsync command and verbose log
On Thu, Apr 29, 2010 at 1:20 PM, Vijay Shanker Dubey
<vijay.shad at gmail.com> wrote:
> I am creating a script to sync my important documents between two
> want my script to generate a log file for the last action. can you
> me a way to achieve this.
> Question: If I execute the rsync command with -v flag, it will print a
> of messages on the console. Is there any way. So, I can redirect these
> to a file?
Stick | tee logfile.txt on the end of the command and you get it on
the screen and in that file both.
Alternatively man 'logger'
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at:
More information about the ubuntu-users