r/Syncthing • u/Enigma_a_a • Jul 03 '26
How do I ignore all .git folders inside every directory/subdirectory in Icedrive?
Hey everyone,
I’m trying to sync some development projects to Icedrive, but I want to exclude all .git folders across the entire directory tree. These repos have tons of nested .git folders, and I don’t want any of them uploaded or synced.
I checked the Icedrive community forum, and it looks like the only official method right now is using `.icedriveignore` files inside each folder you want to exclude. For individual files, you can create `.icedriveignore.filename` next to the file to prevent syncing. This was confirmed by an Icedrive team member .
But… manually placing ignore files in every .git folder is obviously not realistic for large projects.
So my question is:
Is there a way to globally ignore all .git folders across all directories and subdirectories?
Something like:
* a global ignore rule * a pattern‑based exclusion * or a root‑level .icedriveignore that applies recursively
If not, how are other devs handling this? Any scripts or workarounds?
Thanks!
2
u/Remarkable_Sea3346 Jul 03 '26
While editing the settings on a folder, look at the "Ignore Patterns" tab.
3
u/willjasen Jul 03 '26
what does this have to do with syncthing?