Hi,
We just installed ssh2. I am running the sftp command with a batch file and I need delete a few files that start with "myfile" as follows:
sftp -B mycommands myboxname
mycommands file:
rm myfile*
quit
sftp doesn't seem to recognize the wildcard.
The name of myfile* changes so I cannot hardcorde.
Do you have any recommendations?
Thanks in advance.
We just installed ssh2. I am running the sftp command with a batch file and I need delete a few files that start with "myfile" as follows:
sftp -B mycommands myboxname
mycommands file:
rm myfile*
quit
sftp doesn't seem to recognize the wildcard.
The name of myfile* changes so I cannot hardcorde.
Do you have any recommendations?
Thanks in advance.