Open EdchaSw opened 4 years ago
there is an exclusion feature
How to exclude a folder from syncing both ways?
Mind that in this way you won't be able to up nor down even if you click on up/down sync up/down on the specific file/direttory.
{
"name": "ServerName",
"host": "x.x.x.x",
"protocol": "sftp",
"port": 22,
"username": "user",
"privateKeyPath": "pvt/key/path",
"remotePath": "/var/www/project/development/",
"uploadOnSave": true,
"ignore": [
"**/.git",
"**/.vscode",
".history",
".vscode"
],
"watcher": {
"files": "**/*",
"autoUpload": true,
"autoDelete": true
},
"concurrency": 8
}
Mind that in this way you won't be able to up nor down even if you click on up/down sync up/down on the specific file/direttory.
{ "name": "ServerName", "host": "x.x.x.x", "protocol": "sftp", "port": 22, "username": "user", "privateKeyPath": "pvt/key/path", "remotePath": "/var/www/project/development/", "uploadOnSave": true, "ignore": [ "**/.git", "**/.vscode", ".history", ".vscode" ], "watcher": { "files": "**/*", "autoUpload": true, "autoDelete": true }, "concurrency": 8 }
It worked for me thanks
Hi thanks for this extension,
Is this a similar or duplicate feature request?
Is your feature request related to a problem? Please describe. I would like to know if is possible to exclude one folder
Describe the solution you'd like in the moment to upload all folders exclude one or more folder
Describe alternatives you've considered I would like to know if is possible to exclude one folder in the moment to upload all folders. The reason for this question, is I don't would like to upload the .git folder to production site
Does this project help you?