problem with Date

Advertisement

karraso
Joined:
Posts:
1

problem with Date

Hello,
This is my first topic, so hello everybody and please be forgiving.
I would like to dowload file via sftp command

get -filemask="AdvCfg_dump_*.log> %date:~3,4%-%date:~8,2%-%date:~11,2% 05:00:00| */" *.* F:\fewa\

where the * in AdvCfg_dump_*.log is current date eg AdvCfg_dump_04062013.log
but %date:~3,4%-%date:~8,2%-%date:~11,2% doesn't work. I would like to copy files with current date only.
How to do it? Is it possible?
Br

Reply with quote

Advertisement

Advertisement

You can post new topics in this forum