Problem excluding folders with synchronise and filemask
Hello everyone
I should exclude 3 folders and all their subfolders and files
from a copy with sync
I was thinking of using the
This is the code of my script:
the folder to exclude would only be:
but I noticed that it also excludes folders with the same name in other locations:
Can someone help me?
Thanks in advance
I should exclude 3 folders and all their subfolders and files
from a copy with sync
I was thinking of using the
-filemask
option but I can't find documentation for using it
This is the code of my script:
option confirm off option batch continue option exclude "E:\condivisa\ftp\locale\1\*; E:\condivisa\ftp\locale\2\*" open ftp://utente:1@127.0.0.1:21 synchronize remote -mirror -delete -filemask="|1/" E:\condivisa\ftp\locale\ /e/condivisa/ftp/remota/ exit
E:\condivisa\ftp\locale\1\
E:\condivisa\ftp\locale\2\1
Thanks in advance