[quote=“kuku”]Hey!
i have one question about SFTP and FTP plugin “ignore_regex” param. Is it possible, to ignore folder/subfolder/files with some extension?
For example:
I need to ignore all .xls files in this directory files/docs/
ignore_regex - files/docs - works for all files, but files/docs///.xls doesn’t.
P.s. i’m not good on regex, so i think there should be some regex, for my problem
Any help is welcome! Thanks in advance [/quote]
The following takes the default ignore_regex and adds all .xls files inside of files/docs to the list:
"(files/docs/.*\\.xls|\\.sublime-project|\\.sublime-workspace|sftp-config(-alt\\d?)?\\.json|sftp-settings\\.json|/venv/|\\.svn|\\.hg|\\.git|\\.bzr|_darcs|CVS|\\.DS_Store|Thumbs\\.db|desktop\\.ini)"