View Single Post
Old 09-19-2019, 07:26 PM   #10
NiLuJe
BLAM!
NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.NiLuJe ought to be getting tired of karma fortunes by now.
 
NiLuJe's Avatar
 
Posts: 13,482
Karma: 26012494
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
TL;DR:
Code:
ExcludeSyncFolders=\\.(?!kobo|adobe).*?
(In the FeatureSettings section)

The thing to remember is that this is sandwiched inside a
Code:
^/mnt/(sd|onboard)/%1$
so, can't use ^ or $, and that QSettings probably wants some stuff escaped, hence \\. for \. (i.e., match a dot, instead of any character, to avoid what @frostschutz just described with the default patterns ).

@frostschutz: I think some DEs do use numbered trashes, for some reason, so \.Trash-\d+ would make sense . Or just all-in-one: \.Trash.*?

EDIT: Except that both backslash would need to be escaped here .

Last edited by NiLuJe; 09-20-2019 at 12:44 AM.
NiLuJe is offline   Reply With Quote