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: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html