Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 作品与服务 | Email

第 54 章 文件传输

目录

54.1. 跨服务器文件传输
54.1.1. scp - secure copy (remote file copy program)
54.1.2. nc - TCP/IP swiss army knife
54.2. wget - retrieves files from the web
54.2.1. 下载所有图片
54.2.2. mirror
54.2.3. reject
54.2.4. ftp 下载
54.3. axel - A light download accelerator - Console version

54.1. 跨服务器文件传输

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

54.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 -
		
comments powered by Disqus