Wayne, I have redone get_local_name again (patch attached), this time to enable rsync to remove a file to make way for a destination directory; this resolves the "surprise" noted in David Tonhofer's diagram 2. I also made it obey --keep-dirlinks when looking for a destination directory and made various rearrangements. Tell me what you think, and if you decide to commit my code, please double-check it first. -- Matt McCutchen hashproduct@verizon.net http://hashproduct.metaesthetics.net/ -------------- next part -------------- A non-text attachment was scrubbed... Name: redo-get_local_name.diff Type: text/x-patch Size: 3433 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20060223/0c2492f7/redo-get_local_name.bin
On Thu, Feb 23, 2006 at 11:12:07PM -0500, Matt McCutchen wrote:> I have redone get_local_name again (patch attached), this time to > enable rsync to remove a file to make way for a destination directory;I don't wish to do this, as this is not how cp behaves and I want to keep the behavior the same as cp. ..wayne..
Maybe Matching Threads
- Improvements to man page for --no-implied-dirs and --keep-dirlinks
- Copying many sources to different places inside a destination
- Fwd: Re: How to use multiple link-dest directories?
- logging problem
- DO NOT REPLY [Bug 3542] New: "rsync --list-only a b/" tries to create b