Posted: 2014-07-29 21:35
is it possible to Include or Exclude some specific Files before using synchronize with -filemask ??
I want to exclude some specific files before getting synchronized to avoid them to be uploaded, for this example if exist BFFXA018.exe or CFFXA016.exe, they shouldnt be synchronized even the filemask is set for *.exe
option echo on
option batch on
# Disable overwrite confirmations that conflict with the previous
option confirm off
option exclude "BFFXA018.exe;CFFXA016.exe; /*"
# Connect to FTP
# Synchronize DIAGS
synchronize local -filemask="*.exe>1D|archive/" D:\fsdash\diags\SYNCdev\bin\temp\SYNC /diags/SYNC
Location: Prague, Czechia
You can combine both exclude and include mask in
Actually you are doing it already, so I do not see a point of the question.
You can post new topics in this forum
And it's free!