From 3b03593b9c87cd102f55baec0df888b2e145220e Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Wed, 27 Jul 2016 16:51:01 -0700 Subject: [PATCH] README: add example closes #65 --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index 262a7d0..5808f81 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,35 @@ and do not need to be memorized. * [Slides from PyCon2016](http://www.lothar.com/~warner/MagicWormhole-PyCon2016.pdf) +## Example + +Sender: + +``` +% wormhole send README.md +Sending 7924 byte file named 'README.md' +On the other computer, please run: wormhole receive +Wormhole 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. +``` + +Receiver: + +``` +% wormhole receive +Enter 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 +``` + + ## Installation ```$ pip install magic-wormhole```