Hi,
I'm new to aRrsync... but I find the way the "Copy
Symlinks as symlinks" option is managed very strange.
Taking a look at the source code shows you add
the "-l" option if the option is checked. I thought
you would have added the -L option if not (to
dereference the link and copy the file) since the
default behavior of rsync is not to copy anything at
all if no l/L option is given and a link is found.
The man says (OSX, 10.4.3) :
[...]
SYMBOLIC LINKS
By default, symbolic links are not
transferred at all. A message
"skipping non-regular" file is emitted for any
symlinks that exist.
[...]
Am I wrong ?
Ganael Laplanche
martymac@pasteur.fr
Logged In: NO
Here is a small patch that solves the problem :
--- rsyncController.m.orig Mon Nov 6 15:02:26 2006
+++ rsyncController.m Mon Nov 6 15:03:24 2006
@@ -158,6 +158,7 @@
[flags appendString:@"p"];
if([[userSpecifiedArgs objectForKey:@"symlink"] intValue] == NSOnState)
[flags appendString:@"l"];
+ else [flags appendString:@"L"];
if([[userSpecifiedArgs objectForKey:@"mode"] intValue] == 0 || [[userSpecifiedArgs
objectForKey:@"mode"] intValue] == 2)
[flags appendString:@"u"];