[Bug 8367] Add a feature to --move-existing files

samba-bugs at samba.org samba-bugs at samba.org
Sun May 15 21:33:05 UTC 2016


https://bugzilla.samba.org/show_bug.cgi?id=8367

--- Comment #5 from Devin Nate <devin.nate at cloudwerx.com> ---
Comment on attachment 12104
  --> https://bugzilla.samba.org/attachment.cgi?id=12104
rsync-3.1.2-rename-existingV6.patch

Please find attached an updated version of this patch. It has been reworked for
additional safety (checking MAXPATHLEN and NAME_MAX better), and a different
renaming scheme (it simply appends a number starting from 1 to 9999 to the
filename, making sure to respect any file extension). There were a few other
changes and bug fixes made too. This applies to rsync 3.1.2, including the new
debug and info message handling.

It's a pretty specific use case to need this patch, but we find it useful.
Posting here in case others have use for this also.

Thanks,
Devin

-- 
You are receiving this mail because:
You are the QA Contact for the bug.



More information about the rsync mailing list