Hello!

I need a suggestion.
How to copy broken symlink as symlink with rsync?

Example:
# mkdir src
# ln -s file-that-doesnt-exist src/broken-link
# rsync -a src/ dst/
# ls -l src/
total 0
lrwxrwxrwx    1 root     root           22 Dec 16 10:31 broken-link -> 
file-that-doesnt-exist
# ls -l dst
total 0

I want src/ and dst/ to be identical after sync.
-- 
WBR, Yakov Hrebtov                          mailto:[EMAIL PROTECTED]

-- 
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