rsync deleting symbolic link unexpectedly
Eric Horne
eric.horne at teradyne.com
Tue Dec 20 22:59:53 GMT 2005
Matt straightened me all out, thanks again.
Using -K -L did exactly what I wanted it to do. Now I just need to get
it to work with remotes that aren't at 2.6.3 or above (think I'll be
upgrading those) :)
-Eric
Matt McCutchen wrote:
> On Tue, 2005-12-20 at 13:53 -0800, Eric Horne wrote:
>
>>Thanks, Matt.. I'll try it.
>>
>>Do you happen to know which rsync version --keep-dirlinks was
>>introduced? I have 2.6.6 but don't see it as a valid argument.
>
>
> According to OLDNEWS, --keep-dirlinks was introduced in 2.6.3. Is it
> possible that your rsync man page is out of sync with your rsync
> executable? See if --keep-dirlinks is listed in `rsync --help`.
>
> The right way to "preserve" symlinks is to use -l without -L, but having
> rsync follow symlinks (-L -K) is the only way to get include filters to
> apply through symlinks, which you seem to want.
More information about the rsync
mailing list