Re: How do you exclude a directory that is a symlink?

2017-03-05 Thread Wayne Davison
On Fri, Mar 3, 2017 at 7:48 AM, Ken Chase wrote: > 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

Re: How do you exclude a directory that is a symlink?

2017-03-05 Thread Wayne Davison
On Fri, Mar 3, 2017 at 4:41 AM, Steve Dondley wrote: > 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

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Steve Dondley
I'm not sure if this is directed at me or not. But should I take it to mean that what I want to accomplish is not possible using normal commands? On Fri, Mar 3, 2017 at 10:48 AM, Ken Chase wrote: > Considering you cant INCLUDE a directory that is a symlink... which

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Ken Chase
Considering you cant INCLUDE a directory that is a symlink... which would be really handy right now for me to resolve a mapping of 103 -> meaningful_name for backups, instead im resorting to temporary bind mounts of 103 onto meaningful_name, and when the bind mount isnt there, the --del is

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Steve Dondley
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 wrote: > On Fri 03 Mar 2017, Steve Dondley wrote: > > > The directory I'm trying to copy

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Paul Slootman
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 wrote: > > > You don't say explicitly, is the target of the

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Steve Dondley
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 wrote: > On Fri 03 Mar 2017, Steve Dondley wrote: > > > I'm trying to rsync a directory from a server to my local

Re: How do you exclude a directory that is a symlink?

2017-03-03 Thread Paul Slootman
On Fri 03 Mar 2017, Steve Dondley wrote: > 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