Can't exclude directories in command line
Hi,
I really can't understand from the manual, how to exclude a directory. :-(
I'm using WinSCP 6.3.1.14821 on Win2022.
I have a FTP server containing:
On my local machine, I
It still downloads
Even WinSCP dialog generates such filemask so what is the filemask I should use?
Output is:
Thanks.
I really can't understand from the manual, how to exclude a directory. :-(
I'm using WinSCP 6.3.1.14821 on Win2022.
I have a FTP server containing:
/mydir /mydir/myfile.txt ...
cd
into a directory and call the following to synchronize everything except mydir
completely:
WinSCP.com ftp://user:password@ftp.domain.com /command "synchronize local . /" -filemask "|mydir/" exit
mydir
, even if I use |/mydir/
.
Even WinSCP dialog generates such filemask so what is the filemask I should use?
Output is:
Synchronizing... Local '.' <= Remote '/' mydir | 0 B | 0,0 KB/s | binary | 0% other files...