itemized option (-ii) with --log-file and --log-file format
jignesh.shah1980 at gmail.com
Wed Apr 8 02:11:12 GMT 2009
>>If you just want to log transferred files,
No, I also want to log files that are not transferred.
On Tue, Apr 7, 2009 at 8:04 PM, Wayne Davison <wayned at samba.org> wrote:
> 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.
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the rsync