[Gllug] Verifying rsync copy

John Hearns hearnsj at googlemail.com
Wed May 13 09:21:19 UTC 2009


2009/5/13 Jon Dye <jon at pecorous.co.uk>:
> Hi all,
>
> I use rsync to copy a directory of files to a remote location from a
> cron job once a day.  Currently I give it the --verbose option so in
> my email from cron I can see that it's actually worked (normally it's
> silent).  I'd rather just have my cron email tell me if it transfered
> anything and/or that the remote and local directories have the same
> contents.

ps. I'm doing some big rsyncs this morning - several gbytes of data at a time.
I'll try a final check by running with -n --checksum and looking at
the exit status.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list