Deletion of empty folders after synchronization


TheSound72

Recommended Posts

Better is to have on both sides the IgnoreList. As editor I use Notepad++, but also you can use similar editors. Simply open the file IgnoreList you find in each .sync folder and write line per line your excludions, e.g.:
 

# Resilio + Syncthing .stglobalignore
# IgnoreList is a UTF-8 encoded .txt file that helps you specify single files, paths and rules
# for ignoring during the synchronization job. It supports "?" and "*" wildcard symbols.
#
# ? substitutes any single character in a filename
# * substitutes a string of several (any number) characters in a filename
# a/**/b ignore between root and target folder, will ignore folders a/b, a/x/b, a/x/y/b and so on
# ABC/CDE F will ignore subfolder “CDE F" of “ABC" which is located in a subfolder

# ########## OS generated files
$RECYCLE.BIN
$Recycle.Bin
System Volume Information
lost+found
.DocumentRevisions-V100
.TemporaryItems
.fseventsd
.iCloud
.DS_Store
.DS_Store?
.Spotlight-V100
.Trashes
.Trash-*
~*
*~
.~lock.*
*.part
*.filepart
.csync_journal.db
.csync_journal.db.tmp
*.swn
*.swp
*.swo
.dropbox
.dropbox.attr
*.crdownload
._*

# ########## Firefox, Google Chromium incomplete downloads and other things
*.part
*.crdownload

# ########## Synology files
.SynologyWorkingDirectory
@eaDir
@SynoResource
@synoResource
.@__thumb

# ########## Benutzerdefiniert - nicht synchronisierte Verzeichnisse und Dateien  
Thumbs.db
thumbs.db
.Thumbnails
.thumbnails
Ehthumbs.db
ehthumbs.db
Desktop.ini
desktop.ini
sync.ffs_db
sync.ffs_lock
conflict

# ########## ownCloud files
._sync*
.csync_journal.*
.owncloudsync.*

# ########## Resilio files
.sync
!sync
*.rsls

# ########## syncthing files
.stfolder
.stignore
.stversions
.syncthing
.syncthing*
.syncthing.*.*.tmp
~syncthing~*.*.tmp

# ########## vim files
.*.swp

The Resilio and Syncthing entrances I have, since I using Resilio and Syncthing in parallel by different reasons.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.