symbolic links

Dave Dykstra dwd at drdykstra.us
Tue Dec 3 15:15:00 EST 2002


That's not a bug, it's a feature.  Note that the -a option is equivalent
to -rlptgoD; replace it with all but the "l" and then look through the
different options with the word "link" in it in the man page and see if
one of them does what you want.

- Dave Dykstra

On Tue, Nov 26, 2002 at 03:19:34PM -0800, Peter Sturdza wrote:
> rsync -aub foo/ bar/
> will always overwrite a file in bar with a symbolic
> link of the same name in foo.  And there is no backup
> written.  Is this a bug, or is there a command-line
> option to change this behavior?
> 
> In particular, I'd like to prevent the overwriting of
> regular files with symbolic links and send a warning
> message to the screen if it cannot be determined which
> is more recent.
> 
> Thanks,
> Peter
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> -- 
> To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html



More information about the rsync mailing list