Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | Github | OSChina 博客 | 云社区 | 云栖社区 | Facebook | Linkedin | 知乎专栏 | 视频教程 | About

第 2 章 文件传输

目录

2.1. 跨服务器文件传输
2.1.1. scp - secure copy (remote file copy program)
2.1.2. nc - TCP/IP swiss army knife
2.2. wget - retrieves files from the web
2.2.1. 下载所有图片
2.2.2. mirror
2.2.3. reject
2.2.4. ftp 下载
2.3. axel - A light download accelerator - Console version

2.1. 跨服务器文件传输

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

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