I’m trying to use advanced ignore patterns on android, and I can’t get it to work.
The idea is to build a whitelist out of an ignore list:
- First I ignore everything
- Then I reverse-ignore the stuff I actually want to include, using the “!” prefix.
After some tests, it seems that the ignore file is interpreted from bottom to top, like this:
.thumbnails 5th) ignore thumbs within the included folders. does NOT work !qux/*/rofl 4th) include all sub-subfolders named 'rofl'. does NOT work !bar/baz 3rd) include also bar subfolder. does NOT work !foo 2nd) now include just the foo folder. works correctly ** 1st) ignore everything fo starters. works correctly
(read list bottom to top)
Any idea why 3rd, 4th and 5th patterns do not work?
Thanks in advance!