Mask not working

Advertisement

jmjones8
Joined:
Posts:
5
Location:
Fairbanks

Mask not working

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.

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
29,033
Location:
Prague, Czechia

Re: Mask not working

The -filemask has to be on the same line as synchronize.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum