magic-wormhole 可以安全地将东西从一台计算机转移到另一台计算机。
该软件包提供了一个库和一个名为 wormhole 的命令行工具,它使得可以从一台计算机到另一台计算机获取任意大小的文件和目录(或短文本片段)。两个端点通过使用相同的“虫洞代码”来识别:通常,发送机器生成并显示代码,然后必须将其输入接收机器中。
使用方法
发送者:
% wormhole send README.mdSending 7924 byte file named 'README.md' On the other computer, please run: wormhole receiveWormhole code is: 7-crossover-clockwork Sending (<-10.0.1.43:58988)..100%|=========================| 7.92K/7.92K [00:00<00:00, 6.02MB/s]File sent.. waiting for confirmation Confirmation received. Transfer complete.
接收者:
% wormhole receiveEnter receive wormhole code: 7-crossover-clockwork Receiving file (7924 bytes) into: README.md ok? (y/n): y Receiving (->tcp:10.0.1.43:58986)..100%|===========================| 7.92K/7.92K [00:00<00:00, 120KB/s]Received file written to README.md
安装
Linux (Debian/Ubuntu)
$ sudo apt install magic-wormhole
Linux (Fedora)
$ sudo dnf install magic-wormhole
Windows
https://github.com/aquacash5/magic-wormhole-exe
Install from Source
pip install --user magic-wormhole
本文链接:https://www.jingber.cn/post/3875.html 转载需授权!

微信扫一扫,打赏作者吧~