Skip to content

Instantly share code, notes, and snippets.

@fliedonion
Last active May 7, 2022 17:37
Show Gist options
  • Save fliedonion/b9da85dd5c8083a14f06963dbdc8408c to your computer and use it in GitHub Desktop.
Save fliedonion/b9da85dd5c8083a14f06963dbdc8408c to your computer and use it in GitHub Desktop.
My Seafile ignore
# put this file your ROOT of share folder.
## comments below are tips or examples
# # a regular file (put both)
# test-file
# **/test-file
#
# # a dir (put both)
# test-dir/
# **/test-dir/
#
# # wildcard * (just syntax example)
# test-star1/*
# test-star2/*.html
#
# # wildcard ? (just syntax example)
# test-qu1/?.html
# test-qu2/?/
#
# # note or tips.
# ```
# .classpath
# ```
# only match `.classpath` file of root of share folder.
# that does not match with `somedir/.classpath`.
# `*/.classpath` `**/.classpath` may be same.
# These two ignore `/a/.clsspath` and `/b/c/.classpath`
# However do not ignore `/.classpath` (`/` is root of share folder)
#
# If you don't put file you want to ignore on the root directory,
# You only specified `**/[File or Dir you want to ignore]`
#
# `*.x` ignores `/a/b/c/e.x` `/a/b/c/.x`
# so `*` may includes slash.
# ex) I assume `/` is root of sync folder.
# *.pyc ignores `/src/some/test.pyc`
# *.springBeans ignores `/src/some/.springBeans`
# *.springBeans ignores `/src/some/test.springBeans`
# *.springBeans ignores `/.springBeans`
# Desktop.ini ignores `/Desktop.ini`
# Desktop.ini DOES NOT ignore `/src/some/Desktop.ini`
.gradle/
**/.gradle/
.mvn/
**/.mvn/
.idea/
**/.idea/
.sts4-cache/
**/.sts4-cache/
.apt_generated/
**/.apt_generated/
.classpath
**/.classpath
.factorypath
**/.factorypath
.springBeans
**/.springBeans
**/build/
.next/
**/.next/
.ipynb_checkpoints/
**/.ipynb_checkpoints/
.pytest_cache/
**/.pytest_cache/
*$py.class
*.pyc
*.pyo
*.pyd
*.swp
*.*~
*.dSYM.zip
*.dSYM
*.ipa
*.hmap
.DS_Store
**/.DS_Store
.DS_Store*
**/.DS_Store*
Thumbs.db
**/Thumbs.db
Desktop.ini
**/Desktop.ini
photothumb.db
**/photothumb.db
ehthumbs.db
**/ehthumbs.db
ehthumbs_vista.db
**/ehthumbs_vista.db
System Volume Information/
**/System Volume Information/
Pods/
**/Pods/
*~
*.~*
~$*
**/~$*
.~lock.*
**/.~lock.*
~*.tmp
**/~*.tmp
Icon\r*
**/Icon\r*
._*
**/._*
# VC
*.sdf
*.opensdf
*.suo
*.pdb
*.ilk
*.aps
*.ncb
*.tlog/
*.tlog
*.lastbuildstate
*.idb
ipch/
**/ipch/
# .NET
packages/
**/packages/
.vs/
**/.vs/
nupkg/
**/nupkg/
bin/Obj/
**/bin/Obj/
bin/Debug/
**/bin/Debug/
bin/Release/
**/bin/Release/
obj/
**/obj/
*.user
.git/
**/.git/
.hg/
**/.hg/
venv/
**/venv/
.venv/
**/.venv/
__pycache__/
**/__pycache__/
node_modules/
**/node_modules/
# to avoid share production file
.env
**/.env
.ssh/config
**/.ssh/config
ssh_config
**/ssh_config
*.stackdump
*.lnk
$RECYCLE.BIN/
**/$RECYCLE.BIN/
*.crdownload
## bower
bower_components/
**/bower_components/
.bower-cache/
**/.bower-cache/
.bower-registry/
**/.bower-registry/
.bower-tmp/
**/.bower-tmp/
## grunt
.grunt/
**/.grunt/
.tmp/
**/.tmp/
## sass
.sass-cache/
**/.sass-cache/
## sublime
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
# *.sublime-workspace
.metadata
**/.metadata
local.properties
**/local.properties
.externalToolBuilders
**/.externalToolBuilders
pids/
**/pids/
*.pid
*.seed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment