Upload all files except current date
Hi there, just needed help on how could I edit my script to upload all files in a local folder except for the ones created on the current date
So basically I would want to transfer all my backups over to our remote server but on a daily basis leaving 1 copy of backup that is created on that day itself.
lcd C:\WEBBACKUP
cd /WebBackup/178
put -delete -transfer=automatic "*.zip"
exit
Do you think if I changed it to this it will work?
lcd C:\WEBBACKUP
cd /WebBackup/178
put -transfer=automatic "*.zip" -filemask="*>=1D" *
exit
So basically I would want to transfer all my backups over to our remote server but on a daily basis leaving 1 copy of backup that is created on that day itself.
lcd C:\WEBBACKUP
cd /WebBackup/178
put -delete -transfer=automatic "*.zip"
exit
Do you think if I changed it to this it will work?
lcd C:\WEBBACKUP
cd /WebBackup/178
put -transfer=automatic "*.zip" -filemask="*>=1D" *
exit