Topic "Mask not working"

Author Message
jmjones8
[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 sftp://seaice@icemonkey.gina.alaska.edu -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.
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
The -filemask has to be on the same line as synchronize.
_________________
Martin Prikryl
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