Steve Dondley
2017-03-03 12:41:10 UTC
A thousand greetings,
I'm trying to rsync a directory from a server to my local machine that has
a symbolic link to a directory I don't want to download. I have an
"exclude" option to exclude the symlink which works fine. 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.
I suspect I need some kind of --filter option. I read the documentation (or
at least tried do) regarding the --filter option but a mortal, casual user
like me could not make heads or tails of it.
Thanks.
I'm trying to rsync a directory from a server to my local machine that has
a symbolic link to a directory I don't want to download. I have an
"exclude" option to exclude the symlink which works fine. 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.
I suspect I need some kind of --filter option. I read the documentation (or
at least tried do) regarding the --filter option but a mortal, casual user
like me could not make heads or tails of it.
Thanks.