/Designs/Measuring_instruments/RMDS01A/usr/upload_to_fs.cmd
0,0 → 1,4
rem "C:\Program Files\WinSCP\WinSCP.exe" meteor_fs /synchronize c:\meteors\extra /home/meteor/meteors/SVAK1_/capture /defaults
date /t
time /t
"C:\Program Files\WinSCP\WinSCP.exe" winscp.exe /console /script=c:\meteors\upload_to_fs.txt
/Designs/Measuring_instruments/RMDS01A/usr/upload_to_fs.txt
0,0 → 1,16
# Automatically abort script on errors
option batch abort
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Connect using a password
open scp://meteor:meteor@62.77.113.30:2223
# Force binary mode transfer
option transfer binary
# Synchronize remote directories
synchronize remote -criteria=size -delete -mirror c:\meteors\extra /home/meteor/meteors/SVAK1_/capture
synchronize remote -criteria=size -delete -mirror c:\meteors\audio /home/meteor/meteors/SVAK1_/audio
synchronize remote -criteria=size -delete -mirror c:\meteors\data /home/meteor/meteors/SVAK1_/data
# Disconnect
close
# Exit WinSCP
exit