Hi,

I need an option to make rsync not replace a symlink on destination,
but for files.
Something like --keep-links.

Let's suppose I have this setup:
 - source-dir/source-file
 - destination-dir/destination-file (symlink to ../real-destination-file)
 - real-destination-file

After doing an "rync -a source-dir/ destination-dir", I'd like to have
my destination-dir/destination-file symlink kept, but the content of
real-destination-file synced to the content of source-dir/source-file

Is it possible in any way ?
If not, would a patch implementing a --keep-links option would be accepted ?

Thanks :)

-- 
Laurent Raufaste
<http://www.glop.org/>
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to