Re: How do you exclude a directory that is a symlink?
On Fri, Mar 3, 2017 at 7:48 AM, Ken Chasewrote: > I think both situations could benefit from a --resolve-cmd-line-links > switch to resolve COMMAND LINE-SUPPLIED symlinks. > You can specify symlinks in a --relative path with a trailing slash-dot (and use /./ infix notation to trim paths). For example: rsync -aivR /some/path/./symlink/. /dest/ That will create /dest/symlink/ and its contents. ..wayne.. -- 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
Re: How do you exclude a directory that is a symlink?
On Fri, Mar 3, 2017 at 4:41 AM, Steve Dondleywrote: > However, if I add a --copy-links option to the command, it appears to > override my "exclude" directive and the contents of the symlinked directory > gets downloaded anyway. > The use of --copy-links doesn't do that, so mention what your args and paths are and we can figure out what you're seeing. ..wayne.. -- 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