0

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.

3
  • How are you using rsync? What command line options are you using? Sep 17, 2012 at 21:05
  • rsync -avz -e ssh /some/path/ webadmin@ip:/remote/path
    – DOOManiac
    Sep 17, 2012 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. Sep 17, 2012 at 21:40

1 Answer 1

1

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!

2
  • 1
    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, 2012 at 20:58
  • I just realized I'm using -v for increased verbosity. That's probably it. Sorry!
    – DOOManiac
    Sep 17, 2012 at 21:16

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .