<div dir="ltr">The directory I'm trying to copy from is: /home/blah/dir<br><br>The symlink is /home/blah/dir/unwanted_symlinked_dir<div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 3, 2017 at 8:10 AM, Paul Slootman <span dir="ltr"><<a href="mailto:paul+rsync@wurtel.net" target="_blank">paul+rsync@wurtel.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Fri 03 Mar 2017, Steve Dondley wrote:<br>
<br>
> I'm trying to rsync a directory from a server to my local machine that has<br>
> a symbolic link to a directory I don't want to download. I have an<br>
> "exclude" option to exclude the symlink which works fine. However, if I add<br>
> a --copy-links option to the command, it appears to override my "exclude"<br>
> directive and the contents of the symlinked directory gets downloaded<br>
> anyway.<br>
<br>
</span>You don't say explicitly, is the target of the symlink inside or<br>
outside the source directory?<br>
<span class="m_17763963744277067HOEnZb"><font color="#888888"><br>
<br>
Paul<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="m_17763963744277067gmail_signature" data-smartmail="gmail_signature">Prometheus Labor Communications, Inc.<br><a href="http://prometheuslabor.com" target="_blank">http://prometheuslabor.com</a><br><a href="tel:(413)%20572-1300" value="+14135721300" target="_blank">413-572-1300</a><br><br>Communicate or Die: American Labor Unions and the Internet<br><a href="http://communicateordie.com" target="_blank">http://communicateordie.com</a></div>
</div></div>