Re: Overwriting symlinks on OSX

2007-02-24 Thread Matt McCutchen
On 2/24/07, Wayne Davison <[EMAIL PROTECTED]> wrote: On Sat, Feb 24, 2007 at 07:59:32PM -0500, Matt McCutchen wrote: > However, when processing files inside, it blindly follows the obsolete > symlink and concludes that the files are already there, whereas the > newly created directory would have

Re: Overwriting symlinks on OSX

2007-02-24 Thread Wayne Davison
On Sat, Feb 24, 2007 at 07:59:32PM -0500, Matt McCutchen wrote: > However, when processing files inside, it blindly follows the obsolete > symlink and concludes that the files are already there, whereas the > newly created directory would have no files on a real run. Not in a modern rsync. If the

Re: Overwriting symlinks on OSX

2007-02-24 Thread Matt McCutchen
On 2/24/07, David Liontooth <[EMAIL PROTECTED]> wrote: Matt McCutchen wrote: > This is an unpleasant decision: do we want to bloat rsync with the > necessary logic to make --dry-run correct in these corner cases or > settle for a --dry-run that sometimes misleads the user? Wayne, > what's your o

Re: Overwriting symlinks on OSX

2007-02-24 Thread David Liontooth
Matt McCutchen wrote: > On 2/24/07, David Liontooth <[EMAIL PROTECTED]> wrote: >> I'm trying to rsync files to a set of symlinked directories on an XServe >> running OS X. > >> When I run rsync from Linux in --dry-run mode, the results are correct: > >> When I do the actual run, the symlinks are ov

Re: Overwriting symlinks on OSX

2007-02-24 Thread Matt McCutchen
On 2/24/07, David Liontooth <[EMAIL PROTECTED]> wrote: I'm trying to rsync files to a set of symlinked directories on an XServe running OS X. When I run rsync from Linux in --dry-run mode, the results are correct: When I do the actual run, the symlinks are overwritten and new directories ar

Overwriting symlinks on OSX

2007-02-24 Thread David Liontooth
I'm trying to rsync files to a set of symlinked directories on an XServe running OS X. The directories look like this: [EMAIL PROTECTED]:~/2/2006$ l total 80 lrwxr-xr-x1 tna tna39 Feb 24 13:18 2006-01 -> /Volumes/CSArchiveArray001/2006/2006-01 lrwxr-xr-x1 tna tna39 Feb 24 13:18

Re: Overwriting symlinks on OSX

2007-02-24 Thread David Liontooth
PS. Forgot version info: Linux# rsync -v rsync version 2.6.9 protocol version 29 OSX$ rsync -v rsync version 2.6.3 protocol version 28 David Liontooth wrote: > I'm trying to rsync files to a set of symlinked directories on an XServe > running OS X. > > The directories look like this: > > [E