Boo*_*ean 4 unix linux bash shell networking
是否有替代scp,通过打开并行连接将大文件从一台机器传输到另一台机器,并且还能够暂停和恢复下载.
请不要将此转移到severfault.com.我不是系统管理员.我是一名开发人员,试图在备份主机和服务器之间传输过去的数据库转储.
谢谢
小智 10
您可以尝试使用split(1)将文件拆开,然后并行扫描碎片.然后可以使用"cat"将文件合并到目标计算机上的单个文件中.
# on local host
split -b 1M large.file large.file. # split into 1MiB chunks
for f in large.file.*; do scp $f remote_host: & done
# on remote host
cat large.file.* > large.file
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
16362 次 |
| 最近记录: |