Hello,
Because the directories I need to watch are in the root directory of my webspace. The root directory also contains directories like
I could also write
But this opens 3 command line windows. I will stick with that.
Because
So I just let it open 3 command line windows.
First of all, I do not understand, why you synchronize parent/root folder, if you want to synchronize only one of its subfolders.
Because the directories I need to watch are in the root directory of my webspace. The root directory also contains directories like
bin
, conf
, lib
, logs
and so on.
I could also write
set var=%cd%
set "Folders=1 2 3"
for %%a in (%Folders%) do (
START "" /min "P:\WinSCP Portable\WinSCP.com" /command "option batch continue" "option confirm off" "open <some url>" "keepuptodate "%var%"\%%a\ "/TEST/%%a/" -delete"
)
But this opens 3 command line windows. I will stick with that.
Because
./1/ | .\*
watches the directory named 1
like it should and changes are recognized but no upload is being done.
Change in 'D:\TEST\1' detected. // create file
Change in 'D:\TEST\1' detected. // rename file
Change in 'D:\TEST\1' detected. // delete file
So I just let it open 3 command line windows.