Return FastCopy / All view / Newest title / New post / Admin
Exclude Syntax : NeilQ(10/12/20 10:54)
Re:Exclude Syntax : Neil Q(11/1/6 04:04)
Re:Exclude Syntax : Doug(11/1/19 08:16)
Re:Exclude Syntax : Doug(11/1/19 08:21)
Re:Exclude Syntax : NeilQ(11/2/1 11:55)
Re:Exclude Syntax : Harri(11/8/16 10:25)
> I finally figured it out. The syntax is that of UNIX wildcards AND exclude may contain only one element of the path.
> (See "gfr" post and Shirouzu's answer from 08/12/3: filter string can allow to specify a element of path. it can specify "aaa" or "bbb", but it can't specify "c:\aaa\bbb".)
>> I am using FastCopy in sync mode called via a batch file. I can't seem to get the exclude syntax correct. Whatever I do FastCopy still copies the excluded directory and its contents.
>> Goal: Copy all of source contents except 2Dir and its contents
>> Syntax tried (several different ways):
>> Calling batch file:
>> set "FastCopyDir=q:\!FastCopy"
>> set "Source=g:\Archives"
>> set "Destination=r:\"
>> "%FastCopyDir%\FastCopy" /cmd=sync /estimate /no_confirm_del /no_exec /error_stop /exclude="%Source%\2Dir" /log /logfile="%FastCopyDir%\Log\Summary Log.txt" /filelog="%FastCopyDir%\Log\Detailed Log.txt" /acl /verify /open_window /speed=autoslow /force_start /postproc=Normal "%Source%\*" /to="%Destination%"
>> What is the correct syntax to accomplish this sync?
I still can't get it to work. I tried to exclude say the C:\Program Files\TestDir so I put /exclude=TestDir and it still includes it. I also tried TestDir\, Test*, etc, and it just ignores my exclude and includes it. What am I doing wrong?
[ Return FastCopy / All view / Newest title / New post / Admin ]