How do you exclude a directory that is a symlink?
s at dondley.com
Fri Mar 3 16:36:57 UTC 2017
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 <rsync-list-m829 at sizone.org>
> 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 ->
> for backups, instead im resorting to temporary bind mounts of 103 onto
> meaningful_name, and when the bind mount isnt there, the --del is emptying
> meaningful_name accidentally at times.
> I think both situations could benefit from a --resolve-cmd-line-links
> to resolve COMMAND LINE-SUPPLIED symlinks.
> On Fri, Mar 03, 2017 at 07:41:10AM -0500, Steve Dondley said:
> >A thousand greetings,
> >I'm trying to rsync a directory from a server to my local machine that
> >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
> >a --copy-links option to the command, it appears to override my
> >directive and the contents of the symlinked directory gets downloaded
> >I suspect I need some kind of --filter option. I read the documentation
> >at least tried do) regarding the --filter option but a mortal, casual
> >like me could not make heads or tails of it.
> >Please use reply-all for most replies to avoid omitting the mailing
> >To unsubscribe or change options: https://lists.samba.org/
> >Before posting, read: http://www.catb.org/~esr/faqs/
> Ken Chase - ken at heavycomputing.ca skype:kenchase23 +1 416 897 6284
> Toronto Canada
> Heavy Computing - Clued bandwidth, colocation and managed linux VPS @151
> Front St. W.
> Please use reply-all for most replies to avoid omitting the mailing list.
> To unsubscribe or change options: https://lists.samba.org/
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Prometheus Labor Communications, Inc.
Communicate or Die: American Labor Unions and the Internet
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rsync