Check to see if there are changes using rsync

2012-03-01 Thread Daniel Bolgheroni
Hi rsync@, Is it possible to use rsync to check if there are changes in the files I'm trying to sync, but just to check? I need to check if the files I have in a local directory differs from the files in an anonymous rsync server. I'm willing to use -anv (-n for --dry-run) and parse the output.

Re: Check to see if there are changes using rsync

2012-03-01 Thread Paul Slootman
On Thu 01 Mar 2012, Daniel Bolgheroni wrote: I'm willing to use -anv (-n for --dry-run) and parse the output. But maybe there is an easier way? Maybe some status returned given a specific set of parameters? I'd use -i (itemize changes) instead of -v as that's probably easier to parse in

Re: Check to see if there are changes using rsync

2012-03-01 Thread Wayne Davison
On Thu, Mar 1, 2012 at 4:26 AM, Daniel Bolgheroni dan...@cria.org.brwrote: 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