Home | 簡體中文 | 繁體中文 | 雜文 | 打賞(Donations) | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎專欄 | Search | Email

第 67 章 檔案傳輸

目錄

67.1. 跨伺服器檔案傳輸
67.1.1. scp - secure copy (remote file copy program)
67.1.2. nc - TCP/IP swiss army knife
67.2. wget - retrieves files from the web
67.2.1. 下載所有圖片
67.2.2. mirror
67.2.3. reject
67.2.4. ftp 下載
67.3. axel - A light download accelerator - Console version

67.1. 跨伺服器檔案傳輸

67.1.1. scp - secure copy (remote file copy program)

限速1M

# scp -l 1000 /www/index.html root@172.16.0.1:/www
		

指定 identity_file 檔案

scp -i /path/to/id_dsa user@host:/path/to/ceph.conf $conf
		

67.1.2. nc - TCP/IP swiss army knife

tar 通過nc發送到另一端

# Server
$ tar cf - win98 | nc -l -p 5555

# Backup Machine
nc server_ip/server_doman_name 5555 | tar xf -