downloading only specific directories from directory tree
suseuser04 at gmail.hu
Sun Jan 22 20:24:57 UTC 2017
On Fri, 20 Jan 2017 18:15:00 -0500, Kevin Korb wrote:
> An include only overrides an exclude that follows it. So, you would
> need something like this:
> + */
> + openSUSE_13.2/***
> - *
> Then add --prune-empty-dirs to your rsync command line. I left off
> initial ** because it doesn't really mean anything unless
> isn't always the entire directory name in which case 1 * would do.
> Another way to explain it is that by default everything is included.
> exclude rule makes exceptions. An include rule makes exceptions to
> exclude rule.
Thank you a lot.
This worked the way I wanted.
More information about the rsync