---
title: "win传文件到linux脚本"
author: "button"
date: "2014-02-21T11:16:38Z"
tags: []
categories: ["编程语言"]
slug: "win-linux"
draft: false
lastmod: "2014-02-21T11:16:38Z"
id: 2020135
url: "https://jic.iteye.com/blog/2020135"
---

//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