Topic "Exclude certain file on Synchronize for more than 1 folder"

Author Message
solicom
[View user's profile]

Joined: 2013-02-16
Posts: 8
Hi,

How can I exclude all .EXE files from more than one folder, I have working below code:

synchronize local -filemask="*.exe*|archive/" D:\fsdash\diags\SYNC\temp /diags/Temp/Magellan

but now I need to exclude .EXE files from folder other.

I have tried below code but didnt succeed:

synchronize local -filemask="*.exe*|archive/;*.exe*|other/" D:\fsdash\diags\SYNC\temp /diags/Temp/Magellan

any comment will be helpful

THX
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24555
Location: Prague, Czechia
It's "include_mask|exclude_mask"
So it is "*.exe*|archive/;other/"
See http://winscp.net/eng/docs/file_mask#combining_masks

See also your other thread:
http://winscp.net/forum/viewtopic.php?p=44061
solicom
[View user's profile]

Joined: 2013-02-16
Posts: 8
prikryl wrote:
It's "include_mask|exclude_mask"
So it is "*.exe*|archive/;other/"
See http://winscp.net/eng/docs/file_mask#combining_masks

See also your other thread:
http://winscp.net/forum/viewtopic.php?p=44061



THX it worked perfect !!!
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License