[Bug 10522] --detect-renamed patch is causing deletions as if a 'delete flag' was supplied, when none have been
samba-bugs at samba.org
samba-bugs at samba.org
Fri Mar 28 13:10:39 MDT 2014
https://bugzilla.samba.org/show_bug.cgi?id=10522
--- Comment #1 from John Pierman <haqthat at gmail.com> 2014-03-28 19:10:39 UTC ---
I'm sorry typo'd the rsync command, left out the --detect-renamed flag.
Should be
rsync -rvzhtSin --detect-renamed /tmp/test1/ /tmp/test2/
(In reply to comment #0)
> Scenario:
>
> Files are being deleted, even though no 'delete' flags are given.
>
> Patch rsync 3.1.1pre1 with detect-renamed patch
> configure
> make
>
> mkdir /tmp/test1
> mkdir /tmp/test2
> touch /tmp/test1/a
> touch /tmp/test1/b
> touch /tmp/test1/c
> touch /tmp/test2/a
> touch /tmp/test2/x
> touch /tmp/test2/y
> touch /tmp/test2/z
>
> rsync -rvzhtSin /tmp/test1/ /tmp/test2/
>
> "building file list ... done
> *deleting z
> *deleting y
> *deleting x
> .d..t...... ./
> >f..t...... a
> >f+++++++++ b
> >f+++++++++ c
--
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