Problem excluding folders with synchronise and filemask

Advertisement

gabrigabri
Joined:
Posts:
1
Location:
italy

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 -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
the folder to exclude would only be:
E:\condivisa\ftp\locale\1\
but I noticed that it also excludes folders with the same name in other locations:
E:\condivisa\ftp\locale\2\1
Can someone help me?
Thanks in advance

Reply with quote

Advertisement

Guest

Re: problem excluding folders with synchronise and filemask

Hi
Work well
But I have problem excluding folders "with space on the name"

Tha syntax change with this variant?

Very thanks

Reply with quote

martin
Site Admin
martin avatar

Re: problem excluding folders with synchronise and filemask

There should be no problem with spaces in filenames in the file mask.
If you need further help, we need your new script and corresponding log file.

Reply with quote

Advertisement

You can post new topics in this forum