Skip to content

Instantly share code, notes, and snippets.

@LosEcher
Created May 21, 2020 02:21
Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save LosEcher/8b204e78d372b4441b488bd0176488f1 to your computer and use it in GitHub Desktop.
Save LosEcher/8b204e78d372b4441b488bd0176488f1 to your computer and use it in GitHub Desktop.
synology drive exclude folders config
[Version]
major = 1
minor = 1
[Common]
black_dir_prefix = "@tmp", "@eaDir", ".SynologyWorkingDirectory", "#recycle", "desktop.ini", ".ds_store", "Icon\r", "thumbs.db", "$Recycle.Bin", "@sharebin", "System Volume Information", "Program Files", "Program Files (x86)", "ProgramData", "#snapshot"
max_length = 0
max_path = 0
[File]
black_suffix = "@tmp", "@eaDir", ".SynologyWorkingDirectory", "#recycle", "desktop.ini", ".ds_store", "Icon\r", "thumbs.db", "$Recycle.Bin", "@sharebin", "tmp", "temp", "System Volume Information", "Program Files", "Program Files (x86)", "ProgramData", "#snapshot", ".lnk", ".pst", ".swp"
black_prefix = "~"
black_ext = "tmp", "temp", "swp", "lnk", "pst"
max_size = 0
[Directory]
black_name = ".cache", ".node-gyp", "@tmp", "@eaDir", ".SynologyWorkingDirectory", "#recycle", "desktop.ini", ".ds_store", "Icon\r", "thumbs.db", "$Recycle.Bin", "@sharebin", "System Volume Information", "Program Files", "Program Files (x86)", "ProgramData", "#snapshot", ".git", "node_modules"
[EA]
@LosEcher
Copy link
Author

@LosEcher
Copy link
Author

LosEcher commented May 21, 2020

oops, don't forget to link the file.
use for f in ~/.SynologyDrive/data/session/*/conf/blacklist.filter; do ln -sf ~/drive_global_blacklist.filter $f; done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment