Re: change of behaviour on rsync -R and top level symlinks?

2010-06-19 Thread Marc MERLIN
On Fri, Jun 18, 2010 at 10:44:45PM -0700, Wayne Davison wrote: On Wed, Jun 16, 2010 at 1:37 PM, Marc MERLIN m...@merlins.org wrote: I should keep my /a - /c symlink on the destination without --no-implied-dirs since I have /a - /c on the source too, and this is what rsync 2 did. See

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-18 Thread Wayne Davison
On Wed, Jun 16, 2010 at 1:37 PM, Marc MERLIN m...@merlins.org wrote: I should keep my /a - /c symlink on the destination without --no-implied-dirs since I have /a - /c on the source too, and this is what rsync 2 did. See the --relative option in the man page: Beginning with rsync 3.0.0,

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-16 Thread Francis . Montagnac
On Tue, 15 Jun 2010 18:58:36 PDT Marc MERLIN wrote: The /data symlink is clobbered and replaced by a directory. Very bad! Any idea what's going on here and is there a magic flag to work around this problem? I thing you simply need the --no-implied-dirs flag. Francis -- Please use

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-16 Thread Marc MERLIN
On Wed, Jun 16, 2010 at 09:11:57AM +0200, francis.montag...@sophia.inria.fr wrote: On Tue, 15 Jun 2010 18:58:36 PDT Marc MERLIN wrote: The /data symlink is clobbered and replaced by a directory. Very bad! Any idea what's going on here and is there a magic flag to work around this

Re: change of behaviour on rsync -R and top level symlinks?

2010-06-16 Thread Marc MERLIN
On Wed, Jun 16, 2010 at 01:09:07PM -0700, Marc MERLIN wrote: On Wed, Jun 16, 2010 at 09:11:57AM +0200, francis.montag...@sophia.inria.fr wrote: On Tue, 15 Jun 2010 18:58:36 PDT Marc MERLIN wrote: The /data symlink is clobbered and replaced by a directory. Very bad! Any idea

change of behaviour on rsync -R and top level symlinks?

2010-06-15 Thread Marc MERLIN
Here is what my data looks like: source:~# ls -ld /data /data/etc2 lrwxrwxrwx 1 root root 12 2010-06-03 23:32 /data - /export/hda3 -rw-r--r-- 1 produser prod 4 2010-06-15 17:30 /data/etc2 destination:/# ls -l /data lrwxrwxrwx 1 root root 12 2010-06-15 18:36 /data - /export/hda3 Let's