Prepending timestamp before wildcard with GET will overtype original filename

Advertisement

oreoloveboss
Joined:
Posts:
1
Location:
Canada

Prepending timestamp before wildcard with GET will overtype original filename

Hello, I'm using a simple get script to grab files, and I'd like to put the timestamp at the beginning of every downloaded filename.

ie:
 get /loc/*.txt c:\folder\%TIMESTAMP#yyyymmdd%-*.txt

if the file it grabbed was named thisisafilename.txt, the downloaded file will be named 20190121-lename.txt as if it is in overtype mode. Is there a way to use insert mode with renaming instead?

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum