fsantini / KoboCloud

A set of scripts to synchronize a kobo reader with popular cloud services
Other
958 stars 94 forks source link

KoboCloud ExcludeSyncFolders instructions conflict with NickelMenu #138

Closed dgsiegel closed 1 year ago

dgsiegel commented 2 years ago

In the instructions, we can find the recommendation to use

ExcludeSyncFolders=\\.(?!add|adobe).*?

However using that, any images by NickelMenu (which uses the .adds folder) will be picked up and imported by Nickel. It would be better to use this line by kfmon, which ignores all folders starting with a dot, except .kobo and .adobe:

ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)

https://github.com/NiLuJe/kfmon/blob/afd320d572e250315c0a0d1110cf8b1b321c4a27/tools/install.sh#L114-L130

theowenyoung commented 7 months ago

Yes, it seems that is a wrong config in readme, we should use the following config, I'll make a pull request for this.

[FeatureSettings]
ExcludeSyncFolders=(\\.(?!kobo|adobe).+|([^.][^/]*/)+\\..+)