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

--- Comment #1 from John Pierman <haqt...@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.
-- 
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

Reply via email to