How do you exclude a directory that is a symlink?

Steve Dondley s at dondley.com
Fri Mar 3 15:27:12 UTC 2017


Ah, sorry, it links to somewhere outside the directory. Thanks.

/home/blah/dir/unwanted_symlinked_dir points to /home/blah/other_dir

On Fri, Mar 3, 2017 at 10:03 AM, Paul Slootman <paul+rsync at wurtel.net>
wrote:

> On Fri 03 Mar 2017, Steve Dondley wrote:
>
> > The directory I'm trying to copy from is: /home/blah/dir
> >
> > The symlink is /home/blah/dir/unwanted_symlinked_dir
> >
> > On Fri, Mar 3, 2017 at 8:10 AM, Paul Slootman <paul+rsync at wurtel.net>
> wrote:
> >
> > > You don't say explicitly, is the target of the symlink inside or
> > > outside the source directory?
>
> No, I was asking about the *target* of the symlink. Not the name of the
> symlink itself.
>
>
> Paul
>



-- 
Prometheus Labor Communications, Inc.
http://prometheuslabor.com
413-572-1300 <(413)%20572-1300>

Communicate or Die: American Labor Unions and the Internet
http://communicateordie.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/rsync/attachments/20170303/4158ff10/attachment.html>


More information about the rsync mailing list