Syncthing-Ignore-Patterns
Syncthing-Ignore-Patterns copied to clipboard
Useful .stignore Patterns for Syncthing
Syncthing Ignore Patterns
If you use Syncthing and there are some files should not be synchronized to other devices, a file called .stignore can be created containing file patterns to ignore. The .stignore file must be placed in the root of the folder. The .stignore file itself will never be synced to other devices, although it can #include files (in our case is .stglobalignore file) that are synchronized between devices. All patterns are relative to the folder root.
More Infos about ignore patterns from official syncthing website: Syncthing ignore patterns
There are two ways to use this ignore patterns function:
-
Just copy all
.stglobalignorecontents in toFolders⇢Edit⇢Ignore Patternswindowor
-
Copy both
.stignoreand.stglobalignoredirectly into your folder rootor
-
Paste following code into
Folders⇢Edit⇢Ignore Patternswindow and copy the.stglobalignoreinto folder root// .stignore #include .stglobalignore