Exclude folder, but backup 2 files within it?

Get help for specific problems
Posts: 6
Joined: 20 Oct 2016

az99

The way Google Chrome puts a lot of stuff in my ~/.config directory, I want to exclude

/.config/google-chrome/

But, include

/.config/google-chrome/Default/Bookmarks
/.config/google-chrome/Default/Custom Dictionary.txt


The helpfile suggests this should work:

Example: Exclude a sub folder except for certain files
Set up two folder pairs with the same source and target paths but with distinct local filters:
Folder pair 1; local exclude filter: \SubFolder\
Folder pair 2; local include filter: \SubFolder\*.txt


But, it doesn't seem to.

I wish there were "important" flags. Like, if I could add "!" at the end of the include lines to mean "respect these more than any other rule."