If you want every openSUSE_Leap_42.2 then just add an include of */ and
let --prune-empty-dirs handle the rest. If you want it only in those
dirs then you would need something like (I didn't test this):
+ dir:/
+ dir:/**/openSUSE_Leap_42.2/***
On 01/11/2018 11:10 AM, Istvan Gabor via rsync
Thank you for your answer, Kevin.
2. OK, I understand.
1. I checked colon dirs, and indeed they don't have openSUSE_Leap_42.2
dirs directly. But they have different subdirs which have
openSUSE_Leap_42.2 dirs. What would be the correct filter set
to mirror all openSUSE_Leap_42.2 dirs at any
1. You don't appear to be including anything that is within the colon
dirs so they are being left out by --prune-empty-dirs.
2. Includes only override excludes that follow them. Since your debug
excludes are exceptions to the openSUSE_Leap_42.2/*** include they must
be before it not after it.
Dear Kevin:
~ 1 year ago your answer helped me to solve my problem.
This time I would like to do a similar thing but little bit modified.
I read again carefully INCLUDE/EXCLUDE PATTERN RULES section of rsync
manual but still cannot comprehend every part of it.
I understand I have to add include
The following URL may also be helpful in terms of another example :
http://www.lbackup.org/developer/advanced_excludes_file_examples
Hope that link is helpful.
HTRAX 2013 Revitalised : EGYPTIAN HUMP HTRAX : Direct URL download
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
the
initial ** because it doesn't really mean
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 the
initial ** because it doesn't really mean anything unless openSUSE_13.2
isn't always the entire