Topic "Mask not working"

Author Message
[View user's profile]

Joined: 2014-03-05
Posts: 5
Location: Fairbanks
Hello. I am trying to synchronize only certain files from a folder to a local folder. Here is my code:

option confirm off
option batch abort
open s -privatekey=C:\Radar_config\icepirate.ppk
synchronize local "C:\Radar_data\1HrMotion\" /mnt/data/archive/radar-uaf-barrow-seaice-images/2015/02/19/
-filemask="*.png|*masked.png;*.tif" exit

It still grabs everything from the folder, I can't figure out why the masked.png and .tif files are not avoided. Thanks for your help.
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 27059
Location: Prague, Czechia
The -filemask has to be on the same line as synchronize.
Martin Prikryl

You can post new topics in this forum


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!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License