synchronize remote -delete -filemask=|do-not-sync.txt will delete do-not-sync.txt if it is present.
I've written a script to upload the latest changes to my website.
The script runs a
This results in
When I remove a file locally I want it removed from the server on being updated, so I need the
However there are files I don't want synchronized, but I don't want deleted either.
It looks like if the file doesn't match the specified filemask, it's not only ignored but also considered for deletion.
How do I make it so the list of negated files (with the
The script runs a
winscp
command like this:
synchronize remote -delete -filemask=|do-not-sync.txt
do-not-sync.txt
being deleted on the server but that is not what I want.
When I remove a file locally I want it removed from the server on being updated, so I need the
-delete
argument.
However there are files I don't want synchronized, but I don't want deleted either.
It looks like if the file doesn't match the specified filemask, it's not only ignored but also considered for deletion.
How do I make it so the list of negated files (with the
|
prefix) in filemask are NOT deleted on the server when I run synchronize remote -delete
?