Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
How are you using rsync? What command line options are you using? – Oliver Salzburg Sep 17 '12 at 21:05
    
rsync -avz -e ssh /some/path/ webadmin@ip:/remote/path – DOOManiac Sep 17 '12 at 21:15
    
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. – Oliver Salzburg Sep 17 '12 at 21:40
up vote 1 down vote accepted

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!

share|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

You must log in to answer this question.

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