logging mechanism in rsync

Matt McCutchen matt at mattmccutchen.net
Tue Dec 16 14:48:19 GMT 2008

On Tue, 2008-12-16 at 16:56 +0530, Jignesh Shah wrote:
> Does rsync V3 has the feature for logging the files which have not
> been transferred?

Out of what set do you want to see the files not transferred?

- For files hidden by exclude rules, pass -vv (or --debug=exclude if
your rsync is new enough to support it) and look for messages like:

[sender] hiding directory alsomydir because of pattern /alsomydir

- For files skipped because of --min-size, --max-size, --update,
--ignore-existing, or --ignore-non-existing, pass -v (--info=skip) and
look for the corresponding messages.

- For files that did not need a transfer because they passed the quick
check, pass -vv (--info=name2) and look for "FILENAME is uptodate", or
pass -ii and look for files whose itemize code is blank after the first
two characters.

- If rsync tries and fails to transfer a file, it will print an error
message and exit immediately (for fatal errors) or with code 23 at the
end of the run (for nonfatal ones).  Unfortunately, the error message
does not always name the affected file; see:


If none of those were what you were asking, please be more specific.


More information about the rsync mailing list