Filemask not working on Get

Advertisement

johnlondon
Guest

Filemask not working on Get

Hello,

I'm trying to grab all files except one directory, here is my script:

open backups
cd
LCD E:\Backups\
GET -filemask=|pictures/
CLOSE

The script runs, and nothing is moved.

What am I doing wrong?

Reply with quote

martin
Site Admin
martin avatar
Joined:
Posts:
27,253
Location:
Prague, Czechia

Re: Filemask not working on Get

I assume you are getting "Missing parameter for command 'get'." error, because you have not specified any argument to the get command (the switch is not counted).

This is correct:

get * -filemask=|pictures/

Reply with quote

Advertisement

You can post new topics in this forum