Quote:
Originally Posted by baskerville
Are you sure that the exclusion pattern is involved in this case?
I'm asking because I tried Pocket, and it seems to work fine when .kobo isn't whitelisted.
Here's a combination of the current pattern, that matches paths that start with a hidden directories (except .kobo* and .adobe*), and a pattern that matches paths that start with at least one visible directory followed by an hidden directory:
Code:
(\\.(?!kobo|adobe).*?|([^.][^/]*/)+\\..+)
|
That seems to do the trick, thanks
Code:
Jan 2 03:23:49 nickel: ( 144.461 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.addons" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:49 nickel: ( 144.462 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.adds" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:50 nickel: ( 144.468 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.foo" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:50 nickel: ( 144.481 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.kobo/certificates" , matches "(\.kobo|koboExtStorage)/certificates"
Jan 2 03:23:50 nickel: ( 144.487 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.kobo/dict" , matches "(\.kobo|koboExtStorage)/dict"
Jan 2 03:23:50 nickel: ( 144.498 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.kobo/kepub" , matches "(\.kobo|koboExtStorage)/kepub"
Jan 2 03:23:50 nickel: ( 144.504 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.kobo/webstorage" , matches "(\.kobo|koboExtStorage)/webstorage"
Jan 2 03:23:50 nickel: ( 144.505 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.niluje" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:50 nickel: ( 144.506 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.reading-states" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:50 nickel: ( 144.506 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.Spotlight-V100" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:50 nickel: ( 144.506 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/.Trashes" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
Jan 2 03:23:50 nickel: ( 145.290 @ 0x19998d8 / ui.debug) void SyncFileSystemCommand::findFilesToParse(const QString&, QStringList&) skipping "/mnt/onboard/foo/.foo" , matches "(\.(?!kobo|adobe).*?|([^.][^/]*/)+\..+)"
EDIT:
https://github.com/NiLuJe/kfmon/comm...941d22cca1b4d6 
.