Another FileMask Directory Question

Advertisement

gjames
Guest

Another FileMask Directory Question

Hi all -

I've scoured the forums here, FAQ, and even the file mask doc and I still can't seem to wrap my head around where I need to put it.

I need a subfolder Archive to be ignored from D:\Data\Exports directory.
synchronize remote D:\Data\Exports / -resumesupport=off
Do I put the filemask BEFORE remote?
After remote?
After D:\Data\Exports?

What exactly does it need to look like?

Please help.
Thanks.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,441
Location:
Prague, Czechia

Re: Another FileMask Directory Question

It doesn't matter, where you put it. Switches can go anywhere (with some very specific exceptions). After all, you already have one switch in your command. Or maybe you actually do not know that the file mask go to a -filemask switch?

So for example like this:
synchronize remote D:\Data\Exports / -resumesupport=off -filemask=|Archive/
https://winscp.net/eng/docs/scriptcommand_synchronize#filemask

Reply with quote

gjames
Guest

Re: Another FileMask Directory Question

Man, that is crazy simple and works like a champ! Thanks for helping clear it up for me Martin!

Reply with quote

Advertisement

You can post new topics in this forum