On Thu, Dec 16, 2004 at 10:36:05AM +0500, Yakov Hrebtov wrote: > How to copy broken symlink as symlink with rsync?
Your example works fine for me, so run "rsync --version" and ensure that it even has symlink support compiled into it. E.g.: rsync version 2.6.3 protocol version 28 Copyright (C) 1996-2004 by Andrew Tridgell and others <http://rsync.samba.org/> Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles, inplace, IPv6, 64-bit system inums, 64-bit internal inums If it doesn't mention "symlinks", you'll need to compile a new version (rsync depends on the readlink() function for its symlink support, so make sure that configure defined HAVE_READLINK). If the output does mention symlinks, try running rsync without -l set and make sure that it mentions that it is skipping a non-regular file. Then, try running it something like -v options and ensure that it appears in the sender's and receiver's file list. ..wayne.. -- To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
