-
-
Save martin-braun/d6ef61d3abf1338450f3771c7500f4b6 to your computer and use it in GitHub Desktop.
syncthing ignore file(s) .stglobalignore and .stignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// .stglobalignore | |
// These prevent SyncThing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc. | |
// Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment! | |
// *.log and *cache* are in there, just so you know.. but firefox' startupCache and offlineCache will be synced. | |
// Decided to stop categorizing these. Sorting them Lexicographically from now on. Ignores are case sensitive. | |
$RECYCLE.BIN | |
$WINDOWS.~BT | |
*.!Sync | |
*.Cache | |
*.SyncOld | |
*.SyncPart | |
*.SyncTemp | |
*.bak | |
*.bts | |
*.crdownload | |
*.git | |
*.lock | |
*.log | |
*.old | |
*.part | |
*.shm | |
*.sqlite* | |
*.svn | |
*.swp | |
*.sync | |
*.tmp | |
*.wal | |
*CACHE* | |
*S*Conflict* | |
*Temporary* | |
*cache* | |
*inaccessible* | |
*s*conflict* | |
*~ | |
.#* | |
.*.swp | |
(?d).DS_Store | |
.AppleDouble | |
.LSOverride | |
.DocumentRevisions-V100 | |
.fseventsd | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
.com.apple.timemachine.donotpresent | |
.AppleDB | |
.AppleDesktop | |
Network Trash Folder | |
.apdisk | |
*.icloud | |
.Prullenbak | |
.Shared | |
.Spotlight-V100 | |
.SyncArchive | |
.SyncID | |
.SyncIgnore | |
.Trash* | |
._* | |
.escheck.tmp | |
.gvfs | |
.local/share/trash | |
.svn | |
.sync | |
.thumbnails | |
.trash* | |
.~lock. | |
@eaDir | |
LOST.DIR | |
System*Volume* | |
TEMP | |
Temp | |
Trash* | |
a_writable | |
asset-cache | |
captcha_tmp | |
checkouts | |
data/searchIndex | |
*.stackdump | |
(?i)desktop.ini | |
*.lnk | |
dev/ | |
(?d)Thumbs.db | |
(?d)Thumbs.db:encryptable | |
(?d)ehthumbs.db | |
(?d)ehthumbs_vista.db | |
files_trashbin/ | |
forms.json | |
lost+found | |
nobackup | |
pagefile.sys | |
proc/ | |
run/ | |
searchIndex | |
selinux/ | |
staging.* | |
sys/ | |
templates_c | |
thumbnails | |
tmp/ | |
tmp_uploads | |
trash | |
var/lib/lxcfs/ | |
~$* | |
// the line below is .stignore's content, i.e. put both this and .stglobalignore in the root of your sync folder(s) (where .stfolder resides) | |
// main reason for include is because syncthing then syncs this file too, and updates don't ruin my careful ignore project ;-) | |
// see also https://forum.syncthing.net/t/useful-stignore-patterns/1175 | |
//#include .stglobalignore |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment