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

第 69 章 檔案傳輸

目錄

69.1. 跨伺服器檔案傳輸
69.1.1. scp - secure copy (remote file copy program)
69.1.2. nc - TCP/IP swiss army knife
69.2. wget - retrieves files from the web
69.2.1. 下載所有圖片
69.2.2. mirror
69.2.3. reject
69.2.4. ftp 下載
69.3. axel - A light download accelerator - Console version

69.1. 跨伺服器檔案傳輸

69.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
		

69.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 -