DO NOT REPLY [Bug 3787] New: Optional exit code indicating receiver
was changed
samba-bugs at samba.org
samba-bugs at samba.org
Thu May 18 21:06:30 GMT 2006
https://bugzilla.samba.org/show_bug.cgi?id=3787
Summary: Optional exit code indicating receiver was changed
Product: rsync
Version: 2.6.9
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned at samba.org
ReportedBy: hashproduct+rsync at gmail.com
QAContact: rsync-qa at samba.org
I'd like an option that causes rsync to exit with a distinctive exit code, say
26, if everything is successful and one or more files on the receiver were
changed (or would have been changed if --dry-run had not been used). If
nothing on the receiver was changed, rsync should exit 0.
If rsync had this option, makefiles could implement better dependency logic for
commands that operate on large file trees by using rsync to detect whether a
file tree has changed. Specifically, my Web site's build system calls rsync
once to collect the files to be posted into a temporary folder and again to
push the temporary folder to the server I'm using. I'd like to skip the second
rsync if the first rsync does not modify the temporary folder.
--
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.
More information about the rsync
mailing list