Home | 简体中文 | 繁体中文 | 杂文 | Search | ITEYE 博客 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | 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 -
		
comments powered by Disqus