Skip to content

Instantly share code, notes, and snippets.

@jult
Last active May 25, 2025 14:27
Show Gist options
  • Save jult/e2eaedad6b9e29d95977fea0ddffae7d to your computer and use it in GitHub Desktop.
Save jult/e2eaedad6b9e29d95977fea0ddffae7d to your computer and use it in GitHub Desktop.

Revisions

  1. jult revised this gist Nov 26, 2023. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -3,7 +3,8 @@
    // 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.
    // Ignores are case sensitive.
    // Put both .stignore and this .stglobalignore in the root of your sync folder(s) (where .stfolder resides)

    $RECYCLE.BIN
    $WINDOWS.~BT
  2. jult revised this gist Nov 26, 2023. 1 changed file with 40 additions and 20 deletions.
    60 changes: 40 additions & 20 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -4,70 +4,86 @@
    // 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.
    ehthumbs.db

    $RECYCLE.BIN
    $WINDOWS.~BT
    (?d).DS_Store
    (?d)ehthumbs.db
    (?d)ehthumbs_vista.db
    (?d)Thumbs.db
    (?d)Thumbs.db:encryptable
    (?i)desktop.ini
    *.!Sync
    *.Cache
    *.SyncOld
    *.SyncPart
    *.SyncTemp
    *.bak
    *.bts
    *.Cache
    *.crdownload
    *.git
    *.icloud
    *.lnk
    *.lock
    *.log
    *.old
    *.part
    *.shm
    *.sqlite*
    *.stackdump
    *.svn
    *.swp
    *.sync
    *.SyncOld
    *.SyncPart
    *.SyncTemp
    *.tmp
    *.wal
    *CACHE*
    *S*Conflict*
    *Temporary*
    *cache*
    *inaccessible*
    *S*Conflict*
    *s*conflict*
    *Temporary*
    *~
    .#*
    .*.swp
    .apdisk
    .AppleDB
    .AppleDesktop
    .AppleDouble
    .com.apple.timemachine.donotpresent
    .DocumentRevisions-V100
    .escheck.tmp
    .fseventsd
    .gvfs
    .local/share/trash
    .LSOverride
    .Prullenbak
    .Shared
    .Spotlight-V100
    .svn
    .sync
    .SyncArchive
    .SyncID
    .SyncIgnore
    .Trash*
    ._*
    .escheck.tmp
    .gvfs
    .local/share/trash
    .svn
    .sync
    .TemporaryItems
    .thumbnails
    .Trash*
    .trash*
    .Trashes
    .VolumeIcon.icns
    ._*
    .~lock.
    @eaDir
    LOST.DIR
    System*Volume*
    TEMP
    Temp
    Trash*
    a_writable
    asset-cache
    a_writable
    captcha_tmp
    checkouts
    data/searchIndex
    dev/
    files_trashbin/
    forms.json
    lost+found
    LOST.DIR
    Network Trash Folder
    nobackup
    pagefile.sys
    proc/
    @@ -76,10 +92,14 @@ searchIndex
    selinux/
    staging.*
    sys/
    System*Volume*
    TEMP
    Temp
    templates_c
    thumbnails
    tmp/
    tmp_uploads
    trash
    Trash*
    var/lib/lxcfs/
    ~$*
  3. jult revised this gist Nov 26, 2023. 1 changed file with 1 addition and 4 deletions.
    5 changes: 1 addition & 4 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -4,6 +4,7 @@
    // 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.
    ehthumbs.db

    $RECYCLE.BIN
    $WINDOWS.~BT
    @@ -36,7 +37,6 @@ $WINDOWS.~BT
    *~
    .#*
    .*.swp
    .DS_Store
    .Prullenbak
    .Shared
    .Spotlight-V100
    @@ -58,16 +58,13 @@ LOST.DIR
    System*Volume*
    TEMP
    Temp
    Thumbs.db
    Trash*
    a_writable
    asset-cache
    captcha_tmp
    checkouts
    data/searchIndex
    desktop.ini
    dev/
    ehthumbs.db
    files_trashbin/
    forms.json
    lost+found
  4. jult revised this gist Nov 22, 2019. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -5,8 +5,6 @@
    // *.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
  5. jult revised this gist Nov 22, 2019. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -5,6 +5,8 @@
    // *.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
    @@ -56,6 +58,8 @@ $WINDOWS.~BT
    @eaDir
    LOST.DIR
    System*Volume*
    TEMP
    Temp
    Thumbs.db
    Trash*
    a_writable
  6. jult revised this gist Nov 22, 2019. 1 changed file with 15 additions and 8 deletions.
    23 changes: 15 additions & 8 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -6,6 +6,7 @@
    // Decided to stop categorizing these. Sorting them Lexicographically from now on. Ignores are case sensitive.

    $RECYCLE.BIN
    $WINDOWS.~BT
    *.!Sync
    *.Cache
    *.SyncOld
    @@ -33,24 +34,30 @@ $RECYCLE.BIN
    *inaccessible*
    *s*conflict*
    *~
    .#*
    .*.swp
    .DS_Store
    .Prullenbak
    .Shared
    .Spotlight-V100
    .SyncArchive
    .SyncID
    .SyncIgnore
    .Trash*
    ._*
    .git
    .escheck.tmp
    .gvfs
    .local/share/trash
    .svn
    .sync
    .thumbnails
    .trash*
    .~lock.
    @eaDir
    LOST.DIR
    System*Volume*
    Thumbs.db
    Trash
    Trash.msf
    Trash.sbd
    Trash*
    a_writable
    asset-cache
    captcha_tmp
    @@ -61,19 +68,19 @@ dev/
    ehthumbs.db
    files_trashbin/
    forms.json
    frontend_dev.log
    frontend_prod.log
    imgcache
    lost+found/
    lost+found
    nobackup
    pagefile.sys
    proc/
    run/
    searchIndex
    selinux/
    staging.*
    sys/
    templates_c
    thumbnails
    tmp/
    tmp_uploads
    trash
    var/lib/lxcfs/
    ~$*
  7. jult revised this gist Nov 22, 2019. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -1,9 +1,9 @@
    // .stglobalignore

    // These prevent SyncThing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc.
    // Decided to stop categorizing these. Sorting them Lexicographically from now on. Ignores are case sensitive.
    // Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment!
    // *.log, *.old, *.bak and *cache* are in there too, just so you know..
    // *.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
    *.!Sync
    @@ -44,6 +44,7 @@ $RECYCLE.BIN
    .git
    .svn
    .trash*
    @eaDir
    LOST.DIR
    System*Volume*
    Thumbs.db
  8. jult revised this gist Nov 22, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -1,12 +1,13 @@
    // .stglobalignore

    // Decided to stop categorizing these. Sorting them Lexicographically from now on.
    // These prevent SyncThing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc.
    // Decided to stop categorizing these. Sorting them Lexicographically from now on. Ignores are case sensitive.
    // Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment!
    // *.log, *.old, *.bak and *cache* are in there too, just so you know..

    $RECYCLE.BIN
    *.!Sync
    *.Cache
    *.SyncOld
    *.SyncPart
    *.SyncTemp
    @@ -26,7 +27,6 @@ $RECYCLE.BIN
    *.tmp
    *.wal
    *CACHE*
    *Cache*
    *S*Conflict*
    *Temporary*
    *cache*
  9. jult revised this gist Nov 22, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -2,8 +2,8 @@

    // Decided to stop categorizing these. Sorting them Lexicographically from now on.
    // 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 what's in there to prevent major disappointment!
    // *.log, *.old and *.bak are in there too, just so you know..
    // Lots of conflicts/issues disappeared using these ignores, but do check to prevent major disappointment!
    // *.log, *.old, *.bak and *cache* are in there too, just so you know..

    $RECYCLE.BIN
    *.!Sync
  10. jult revised this gist Nov 22, 2019. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -1,8 +1,9 @@
    // .stglobalignore

    // Stopped categorizing these. Sorting them Lexicographically from now on.
    // These prevent Syncthing from trying to sync data that's locked, constantly changing, going to be thrown out, unimportant, etc.
    // Decided to stop categorizing these. Sorting them Lexicographically from now on.
    // 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 what's in there to prevent major disappointment!
    // *.log, *.old and *.bak are in there too, just so you know..

    $RECYCLE.BIN
    *.!Sync
    @@ -44,22 +45,21 @@ $RECYCLE.BIN
    .svn
    .trash*
    LOST.DIR
    System Volume Information
    System*Volume*
    Thumbs.db
    Trash
    Trash.msf
    Trash.sbd
    a_writable
    asset-cache
    backend_dev.log
    backend_prod.log
    captcha_tmp
    checkouts
    data/searchIndex
    desktop.ini
    dev/
    ehthumbs.db
    files_trashbin/
    forms.json
    frontend_dev.log
    frontend_prod.log
    imgcache
  11. jult revised this gist Aug 3, 2019. 1 changed file with 57 additions and 44 deletions.
    101 changes: 57 additions & 44 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -1,65 +1,78 @@
    // .stglobalignore

    // Incomplete files (downloads and such)
    // These prevent Syncthing from transferring data that's going to be thrown out once the download is finished etc.
    // Stopped categorizing these. Sorting them Lexicographically from now on.
    // 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 what's in there to prevent major disappointment!

    *.part
    $RECYCLE.BIN
    *.!Sync
    *.SyncOld
    *.SyncPart
    *.SyncTemp
    *.bak
    *.bts
    *.crdownload
    *.git
    *.lock
    *.log
    *.old
    *.part
    *.shm

    // use Firefox' or Chrome's own Syncing option for this;
    *.sqlite*

    // Temporary/Backup Files
    *~
    ._*
    *Temporary*
    *.svn
    *.swp
    *.bak
    *.sync
    *.tmp
    *.old

    // OS-generated files
    desktop.ini
    ehthumbs.db
    Thumbs.db
    .DS_Store
    .Spotlight-V100
    ._*
    .Trash*
    *.wal

    *CACHE*
    *Cache*
    *S*Conflict*
    *Temporary*
    *cache*
    *inaccessible*
    *s*conflict*
    *.sync
    *.bts
    *.!Sync
    *~
    .DS_Store
    .Prullenbak
    .Spotlight-V100
    .SyncArchive
    .SyncID
    .SyncIgnore
    .SyncArchive
    *.SyncPart
    *.SyncTemp
    *.SyncOld
    *.git
    *.svn

    searchIndex
    .Trash*
    ._*
    .git
    .svn
    .trash*
    LOST.DIR
    System Volume Information
    Thumbs.db
    Trash
    Trash.msf
    Trash.sbd
    a_writable
    asset-cache
    checkouts
    *CACHE*
    *Cache*
    *cache*
    backend_dev.log
    backend_prod.log
    captcha_tmp
    checkouts
    data/searchIndex
    desktop.ini
    dev/
    ehthumbs.db
    files_trashbin/
    frontend_dev.log
    frontend_prod.log
    imgcache
    lost+found/
    nobackup
    staging.*
    templates_c
    tmp_uploads
    dev/
    proc/
    sys/
    tmp/
    run/
    mnt/
    searchIndex
    selinux/
    staging.*
    sys/
    templates_c
    tmp/
    tmp_uploads
    trash
    var/lib/lxcfs/
  12. jult revised this gist Dec 20, 2017. 1 changed file with 22 additions and 28 deletions.
    50 changes: 22 additions & 28 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -1,29 +1,34 @@
    // .stglobalignore

    // Incomplete Downloads and such.
    // For now, these prevent Syncthing from transferring data that's
    // going to be thrown out anyway once the download is finished and the
    // file is renamed. Stuff may alter when Syncthing gets smarter.
    //
    // Firefox downloads and other things
    // Incomplete files (downloads and such)
    // These prevent Syncthing from transferring data that's going to be thrown out once the download is finished etc.

    *.part
    // Chrom(ium|e) downloads
    *.crdownload
    *.log
    *.shm

    // Temporary / Backup Files
    *~
    .*.swp
    // use Firefox' or Chrome's own Syncing option for this;
    *.sqlite*

    // OS-generated files (OS X)
    .DS_Store
    .Spotlight-V100
    .Trashes
    // Temporary/Backup Files
    *~
    ._*
    *Temporary*
    *.swp
    *.bak
    *.tmp
    *.old

    // OS-generated files (Windows)
    // OS-generated files
    desktop.ini
    ehthumbs.db
    Thumbs.db
    .DS_Store
    .Spotlight-V100
    ._*
    .Trash*
    *.wal

    *S*Conflict*
    *s*conflict*
    @@ -36,6 +41,8 @@ Thumbs.db
    *.SyncPart
    *.SyncTemp
    *.SyncOld
    *.git
    *.svn

    searchIndex
    asset-cache
    @@ -47,25 +54,12 @@ captcha_tmp
    imgcache
    nobackup
    staging.*
    *.git
    *.svn
    templates_c
    tmp_uploads
    *.log
    dev/
    proc/
    sys/
    tmp/
    run/
    mnt/
    selinux/
    .Trash*
    .DS_Store
    *TemporaryItems
    *.swp
    *.bak
    *.tmp
    *.old
    *.wal
    *.shm
    ._*
  13. jult created this gist Jan 15, 2017.
    71 changes: 71 additions & 0 deletions .stglobalignore
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,71 @@
    // .stglobalignore

    // Incomplete Downloads and such.
    // For now, these prevent Syncthing from transferring data that's
    // going to be thrown out anyway once the download is finished and the
    // file is renamed. Stuff may alter when Syncthing gets smarter.
    //
    // Firefox downloads and other things
    *.part
    // Chrom(ium|e) downloads
    *.crdownload

    // Temporary / Backup Files
    *~
    .*.swp

    // OS-generated files (OS X)
    .DS_Store
    .Spotlight-V100
    .Trashes
    ._*

    // OS-generated files (Windows)
    desktop.ini
    ehthumbs.db
    Thumbs.db

    *S*Conflict*
    *s*conflict*
    *.sync
    *.bts
    *.!Sync
    .SyncID
    .SyncIgnore
    .SyncArchive
    *.SyncPart
    *.SyncTemp
    *.SyncOld

    searchIndex
    asset-cache
    checkouts
    *CACHE*
    *Cache*
    *cache*
    captcha_tmp
    imgcache
    nobackup
    staging.*
    *.git
    *.svn
    templates_c
    tmp_uploads
    *.log
    dev/
    proc/
    sys/
    tmp/
    run/
    mnt/
    selinux/
    .Trash*
    .DS_Store
    *TemporaryItems
    *.swp
    *.bak
    *.tmp
    *.old
    *.wal
    *.shm
    ._*