itemized option (-ii) with --log-file and --log-file format
wayned at samba.org
Tue Apr 7 14:34:07 GMT 2009
On Mon, Apr 06, 2009 at 10:45:42AM +0530, Jignesh Shah wrote:
> I have to use -ii so that it print all the statistic info about what
> files/dirs synched and what are not.
No, -ii will include unchanged files in the logs in addition to changed
files, and thus a %i field (the one with the cryptic characters) is
needed to distinguish the two. The -i option also tells rsync to log
about files that have attribute changes (not just transferred files),
and the %i field is necessary to be able to distinguish if a file just
got tweaked or was transferred.
If you just want to log transferred files, don't specify -i at all, and
use your prior --log-file=FILE and --log-file-format=FORMAT options, but
leave out the %i parameter in the latter.
More information about the rsync