-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request: allow config, opposite to ignore #169
Comments
I have created a Pull Request for the feature: #170 |
Feature #169: Implemented config allow
Please, how to allow single directory and everything underneath |
Then all you need to do is to have an array with just one regex for your allowed folder, like this "allow": [
"myfolder/"
], Anything outside of myfolder will not match, and anything inside myfolder at any level, will match. |
Thanks! |
In certain cases you want to use ftp-sync to only upload certain specific files or extensions to the server.
It would be awesome, and I presume easy to implement, to have an allow config, which is the opposite of ignore.
If allow is nonempty, then essentially only those files that match any of the regexes at allow are uploaded. this does not disable ignore in any way, ignore would be processed normally just after allow
Right now, the only workaround is to add all the hundreths of things I want, to ignore, but in a dynamic project, that not only is cumbersome, but also risky, as new files get added all the time.
Thanks for such a great plugin.
The text was updated successfully, but these errors were encountered: