win传文件到linux脚本

 

//upload.bat

@echo off

if [%1]==[] goto usage

 

"c:\Documents and Settings\user\桌面\yaoyao\putty\PSCP.EXE" -load 10.10.250.23 -l root -pw 666666 %*

10.1.250.3:/srv/upload/apps/

goto end

 

:usage

echo Usage: deploay [WAR FILE NAME ]

pause

 

:end

你可能感兴趣的:(linux)