Skip to content

Instantly share code, notes, and snippets.

@sjmacneil
Last active February 18, 2022 20:48
Show Gist options
  • Save sjmacneil/b47c34e7c8df537d16ec to your computer and use it in GitHub Desktop.
Save sjmacneil/b47c34e7c8df537d16ec to your computer and use it in GitHub Desktop.
Sublime SFTP ignore_regex

Sublime SFTP ignore_regex

Use the contents of sftp-config-ignore_regex.json to replace the ignore_regex in your sftp-config.json for better ignore settings if you happen to be using OS X, bower and npm and occasionally a little known CMS called Tyfoon for projects like me.

Congration You Done it

Enjoy not uploading unnecessary files to your production server with Sublime SFTP!

"ignore_regexes": [
"\\.sublime-(project|workspace)",
"sftp-config(-alt\\d?)?\\.json",
"sftp-settings\\.json",
"\\.htaccess",
"/venv/",
"\\.svn/",
"\\.hg/",
"\\.git/",
"\\.gitignore",
"\\.bzr",
"\\_darcs",
"CVS",
"\\.DS_Store",
"\\.trashes",
"Thumbs\\.db",
"desktop\\.ini",
"\\.sass-cache",
"\\.bower-(cache|registry|temp)",
"/node_modules/",
"\\.tmp/",
"/dist/",
"/tyfoon/",
"notes\\.md"
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment