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

2017-03-03 Thread Steve Dondley
at times. > > I think both situations could benefit from a --resolve-cmd-line-links > switch > to resolve COMMAND LINE-SUPPLIED symlinks. > > http://unix.stackexchange.com/questions/153262/get-rsync-to- > dereference-symlinked-dirs-presented-on-cmdline-like-find-h > > /kc

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 <paul+rs...@wurtel.net> wrote: > On Fri 03 Mar 2017, Steve Dondley wrote: > > > The directory

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 <paul+rs...@wurtel.net> wrote: > On Fri 03 Mar 2017, Steve Dondley wrote: > > > I'm trying to rsync a directory from a

How do you exclude a directory that is a symlink?

2017-03-03 Thread Steve Dondley
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