Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: Mask not working

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

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 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.