https://bugzilla.samba.org/show_bug.cgi?id=5558 Summary: -- Stats Output Product: rsync Version: 3.0.0 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P3 Component: core AssignedTo: wayned@samba.org ReportedBy: bugs@crossroadz.com.au QAContact: rsync-qa@samba.org When using a multi line batch file to synch two systems the --stats output gives no indication of which line in the batch file the individual stats refer to It would be helpful and make the output easier to understand if the stats output printed the rsync command executed as the first line of any stats To place the above suggestion into context, I synchronise 8 directories on two machines daily using cron/rsync with the stats emailed to two administrators. The stats are great and assist in identifying problems but it is a pain remembering which group of stats belong to which directory. If it is considered a security problem having the full rsync command as the first line of the stats output perhaps the source or destination section of the command line could be utilised -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=5558 matt@mattmccutchen.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME Summary|-- Stats Output |-- Stats Output ------- Comment #1 from matt@mattmccutchen.net 2008-06-23 18:50 CST ------- You can print the rsync command yourself using an "echo" in the batch file. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=5558 bugs@crossroadz.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|WORKSFORME | ------- Comment #2 from bugs@crossroadz.com.au 2008-06-23 21:05 CST ------- Yes I can use an echo, but surely we are all looking to improve the product and in this case readability of the --stats output The current output is like having an answer to a question without the question -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=5558 ------- Comment #3 from matt@mattmccutchen.net 2008-06-23 21:46 CST ------- (In reply to comment #2)> Yes I can use an echo, but surely we are all looking to improve the product and > in this case readability of the --stats outputWe are not looking to bloat rsync with features easily implemented outside of it. Besides, the command is not a statistic. You're welcome to use a modified version of rsync that prints the command with --stats if you wish. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=5558 ------- Comment #4 from bugs@crossroadz.com.au 2008-06-23 22:39 CST ------- With all due respect, a small improvement in readability surely could not be considered bloat, more like commonsense, and to suggest that --stats does not provide statistics is a surprising statement to say the least. Perhaps this could be linked to the other change (bud 2602) to improve stats which is more complex & has been outstanding since 2005 I would also like to see some information on files/directories added/deleted -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=5558 wayned@samba.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |WONTFIX ------- Comment #5 from wayned@samba.org 2008-06-23 23:59 CST ------- I agree with Matt that this is not something that --stats should output. The person calling rsync is in a much better position to know how best to summarize what the copy is doing (e.g. echo the whole command, echo the destination, etc.) than rsync would be. Matt also meant that it is this extra output that you are requesting that is not a statistic, not the --stats option. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=5558 ------- Comment #6 from bugs@crossroadz.com.au 2008-06-24 00:15 CST ------- Fair enough I have made the suggestion and it has been rejected I will however continue to regard the need to add a comment explaining the meaning of the statistics externally to rsync as a work around rather than a solution At the same time could I thank all who have made rsync such a great powerful tool their efforts are certainly appreciated -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
Reasonably Related Threads
- DO NOT REPLY [Bug 6038] New: failed: No such file or directory (2)
- DO NOT REPLY [Bug 7773] New: Please add a switch to preserve ownership on the receiving side
- DO NOT REPLY [Bug 5246] New: rsync fails to transfer some files
- DO NOT REPLY [Bug 6915] New: Reject passing an argument to an option that doesn't take one
- DO NOT REPLY [Bug 5201] New: Rsync lets user corrupt dest by applying non-inplace batch in inplace mode