syncthing: Selective sync
Despite using syncthing for a decade I never thought to use the built in ignore patterns for "selective sync".
Specify paths to igore in a file called .stignore in the root directory of the syncthing share using the following patterns:
(?d).DS_Storeto ignore that file (and delete otherwise empty dirs)!/footo unignore top level directory*to ignore everything else
Example: Selectively sync only a single machine specific dir in a larger share
!/machine-1
*
Example: Selectively sync some projects in a larger share
!/project-1
!/project-2
*
Published on: 10 Jun 2026