3272 |
kakl |
1 |
# Automatically abort script on errors |
|
|
2 |
option batch abort |
|
|
3 |
# Disable overwrite confirmations that conflict with the previous |
|
|
4 |
option confirm off |
|
|
5 |
# Connect using a password |
|
|
6 |
open scp://meteor:meteor@62.77.113.30:2223 |
|
|
7 |
# Force binary mode transfer |
|
|
8 |
option transfer binary |
|
|
9 |
# Synchronize remote directories |
|
|
10 |
synchronize remote -criteria=size -delete -mirror c:\meteors\extra /home/meteor/meteors/SVAK1_/capture |
|
|
11 |
synchronize remote -criteria=size -delete -mirror c:\meteors\audio /home/meteor/meteors/SVAK1_/audio |
|
|
12 |
synchronize remote -criteria=size -delete -mirror c:\meteors\data /home/meteor/meteors/SVAK1_/data |
|
|
13 |
# Disconnect |
|
|
14 |
close |
|
|
15 |
# Exit WinSCP |
|
|
16 |
exit |