Check to see if there are changes using rsync

Wayne Davison wayned at samba.org
Thu Mar 1 09:35:38 MST 2012


On Thu, Mar 1, 2012 at 4:26 AM, Daniel Bolgheroni <daniel at cria.org.br>wrote:

> Is it possible to use rsync to check if there are changes in the files
> I'm trying to sync, but just to check?
>

Someone already suggested --itemize-changes, so I'll just mention that if
you want to check file content (to avoid a false-positive match if the
file's size and mtime could possibly match w/o the content being
identical), then you also need --checksum (-c).

..wayne..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20120301/c3d68ed5/attachment.html>


More information about the rsync mailing list