|
# syntax: WinSCP.exe /console /script="auto2.txt" /log=d:/abc.log
# Automatically abort or continue script on errors
option batch continue
# Disable overwrite confirmations that conflict with the previous
option confirm off
# Force binary mode transfer
option transfer binary
open -rawsettings -delete sftp://root:passwd@ip/
synchronize remote -nopreservetime -criteria=size e:\data /DRIVE_D/OfficePCBAK/data/
exit
----------
Archiver|手机版|科学网 ( 京ICP备07017567号-12 )
GMT+8, 2024-12-23 18:09
Powered by ScienceNet.cn
Copyright © 2007- 中国科学报社