Upload 2 specific latest files to remote server

Advertisement

sanketK
Joined:
Posts:
6
Location:
India

Upload 2 specific latest files to remote server

Hi,
I want to upload 2 files (a.csv, b.csv) to remote server which has been updated in same day.
Script:
put "\\folder1\folder2" -filemask="a.csv" "">=1D", "b.csv" "">=1D"" ""/folder3""
 
Here, I'm unable to mask 2 files for current date.
Any help is greatly appreciated!

Thanks,
Sanket

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,262
Location:
Prague, Czechia

Re: Upload 2 specific latest files to remote server

put \\folder1\folder2 -filemask=a.csv>=1D;b.csv>=1D /folder3
Though if you want to upload today's files, then >=today is more appropriate.

Reply with quote

Advertisement

You can post new topics in this forum