I am trying to only download files that are created today, just like tomorrow I would only want to download files created tomorrow only. Essentially I log into the remote server with my script and download all the files right now with synchronize local
. What I want to do is just only download the files created today. Right now I just added the filemask and I am still getting all of the files however I only want today's files.
open sftp://location.net -passphrase="passphrase" -hostkey="key"
synchronize local C:\Users\localdrive\Desktop\test2 /Home/remoteFolder/
exit
I also tried
get /Home/remoteFolder/ -filemask=*>1D
and it hasn't changed anything.
Any suggestions would be great.