uTTY Secure Copy client Windows 檔案同步工具

來源:互聯網
上載者:User

linux 下同步檔案使用rsync,windows下我們也一樣

PuTTY   Secure   Copy   client  
putty 安全複製用戶端
  Release   0.53b  
版本,
  Usage:   pscp   [options]   [user@]host:source   target  
                pscp   [options]   source   [source...]   [user@]host  
                pscp   [options]   -ls   user@host:filespec  
用法: pscp [選項] [使用者名稱@]主機:源檔案 目標檔案
 pscp [選項] 源檔案 [源檔案……] [使用者名稱@]主機
 pscp [選項] -ls 使用者名稱@主機:檔案空間?

  Options:  
選項:
      -p                 preserve   file   attributes  
保護檔案屬性
      -q                 quiet,   don't   show   statistics  
安靜,不顯示統計
      -r                 copy   directories   recursively  
複製子檔案夾
      -v                 show   verbose   messages  
顯示資訊
      -load   sessname     Load   settings   from   saved   session  
載入,載入儲存節的設定
      -P   port       connect   to   specified   port  
連接埠,串連到指定空間連接埠
      -l   user       connect   with   specified   username  
使用者,用指定的使用者串連空間
      -pw   passw   login   with   specified   password  
密碼,用指定的密碼登入空間
      -1   -2           force   use   of   particular   SSH   protocol   ver  
強迫 ssh 使用的版本
      -C                 enable   compression  
開啟壓縮
      -i   key         private   key   file   for   authentication  
鑰匙,證明用的鑰匙檔案
      -batch         disable   all   interactive   prompts  
關閉互動能力,也許
      -unsafe       allow   server-side   wildcards   (DANGEROUS) 
不安全,允許伺服端取代字元 (危險的) 

 

To send (a) file(s) to a remote server:

複製檔案到伺服器

用到下面

pscp [options] source [source...] [user@]host:target

所以複製本地檔案: c:/documents/foo.txt 到伺服器example.com 使用者名稱是fred 到檔案/tmp/foo 你的命令是:

即命令如下:

pscp c:/documents/foo.txt fred@example.com:/tmp/foo
相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.