Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

martin

You cannot have a file mask relative to the "root" of transfer.
Guest

I have already find this filemask but trying to make it root folder location independant...

I can refer 'RootDir' but want to have a single filemask anywhere my tool is copy (no need to change it everytime I copy it)

Thanks
Guest

In addition, the log file

> 2014-10-09 10:08:16.508 Script: synchronize remote -delete -mirror -nopermissions -preservetime -transfer="binary" -filemask="MyFolderActive01/;MyFolderActive02/|*.log" -resumesupport="on" -criteria="time,size" -- "c:\RootDir" "_SynchroRoot"
< 2014-10-09 10:08:16.509 Script: Comparing...
. 2014-10-09 10:08:16.509 Collecting synchronization list for local directory 'c:\RootDir' and remote directory '_SynchroRoot', mode = Remote, params = 0x1003 (Delete, NoConfirmation, Mirror)
. 2014-10-09 10:08:16.509 Local file 'c:\RootDir\.' [2014-10-09T08:05:12.015Z] [0] excluded from synchronization
. 2014-10-09 10:08:16.509 Local file 'c:\RootDir\..' [2014-10-09T08:05:12.015Z] [0] excluded from synchronization
. 2014-10-09 10:08:16.509 Local file 'c:\RootDir\MyFolderActive01' [2014-10-09T08:08:08.891Z] [0] included to synchronization
. 2014-10-09 10:08:16.509 Local file 'c:\RootDir\MyFolderActive02' [2014-10-09T08:08:08.891Z] [0] included to synchronization
. 2014-10-09 10:08:16.509 Local file 'c:\RootDir\MyFolderBackup' [2014-08-21T12:56:57.530Z] [0] excluded from synchronization
. 2014-10-09 10:08:16.510 Local file 'c:\RootDir\text01.txt' [2014-10-09T08:07:07.070Z] [6] included to synchronization
. 2014-10-09 10:08:16.510 Local file 'c:\RootDir\text02.txt' [2014-10-09T08:07:07.070Z] [6] included to synchronization
Pascal

FileMask to exclude root directory files

Hi,

I can not find any FileMask pattern to exclude from synchronisation all files within root directory.

Currently I have fro exemple

c:\RootDir\text01.txt
c:\RootDir\text02.txt
c:\RootDir\MyFolderActive01\text11.txt
c:\RootDir\MyFolderActive01\text11.log
c:\RootDir\MyFolderActive02\text21.txt
c:\RootDir\MyFolderBackup\text31.txt

And I want to synchronise only Active folder content but not .log file
<FileMask>MyFolderActive01/;MyFolderActive02/|*.log</FileMask>

It works except that winscp synchronized also
c:\RootDir\text01.txt
c:\RootDir\text02.txt