I have a lengthy rsync that, when showing the out (what files it transfers), I would like it to only show files that differed from source to destination (i.e. actually changed). I want it to leave out files which were identical.

NOTE: I do not want to actually change what files are getting transferred - I just don't want to see it in the logs so I can focus on the files that rsync did change.

  • How are you using rsync? What command line options are you using? – Der Hochstapler Sep 17 '12 at 21:05
  • rsync -avz -e ssh /some/path/ webadmin@ip:/remote/path – DOOManiac Sep 17 '12 at 21:15
  • 1
    That shouldn't be an issue then. Without -v it would not display anything other than errors. -v would only display files that are being transferred. -vv would also display files that are being skipped. So, either the files are not being skipped, or you accidentally used -vv. – Der Hochstapler Sep 17 '12 at 21:40

Identical files are not synced, by rsync and thus do not appear in the output (log).

The problem, you're trying to solve, doesn't exist!

| improve this answer | |
  • Are you sure? Because we will do an rsync of maybe 1,000 files, and they all show up, but only 2 or 3 actually changed... – DOOManiac Sep 17 '12 at 20:58
  • I just realized I'm using -v for increased verbosity. That's probably it. Sorry! – DOOManiac Sep 17 '12 at 21:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.