[Bug 9997] New: File listed only whose attributes have changed for single '-v' option
samba-bugs at samba.org
samba-bugs at samba.org
Thu Jul 4 03:17:19 MDT 2013
https://bugzilla.samba.org/show_bug.cgi?id=9997
Summary: File listed only whose attributes have changed for
single '-v' option
Product: rsync
Version: 3.0.9
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: core
AssignedTo: wayned at samba.org
ReportedBy: panyongzhi at gmail.com
QAContact: rsync-qa at samba.org
I have to make rsync outputs only files whose contents have changed, not those
whose attributes have changed. I read its manpage and find one '-v' option
should be exactly what I want:
At the single -v level of verbosity, this does not mention when a file gets its
attributes changed. If you ask for an itemized list of changed attributes
(either --itemize-changes or adding "%i" to the --out-format setting), the
output (on the client) increases to mention all items that are changed in any
way.
But when experimenting, rsync still prints files which only get their
attributes changed.
$ touch a
$ rsync -av a b
sending incremental file list
a
sent 76 bytes received 31 bytes 214.00 bytes/sec
total size is 0 speedup is 0.00
$ touch a
$ rsync -av a b
sending incremental file list
a
sent 76 bytes received 31 bytes 214.00 bytes/sec
total size is 0 speedup is 0.00
In the second rsync command, rsync should not have printed the filename of a,
since only its modification time has changed.
I have to suppress filename output for those whose attributes have changed
only, since there are a huge amount of such information which cause my web
application very slow.
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the rsync
mailing list