Skip to content

Commit

Permalink
Updates README.md for most recent output
Browse files Browse the repository at this point in the history
  • Loading branch information
ikirker committed Nov 25, 2020
1 parent 48cb13c commit 8a277f8
Showing 1 changed file with 19 additions and 9 deletions.
28 changes: 19 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,31 +33,41 @@ $ dd if=/dev/zero of=some_file bs=1GiB count=1
$ pipe-give some_file
Your transfer ID: YMUdkcTB
and password: 715910185
$ pipe-give some_file
Your transfer ID: XESXdZMT
and password: 985126401
Please enter this at receiver.
Remember you must be on the same node.
[Ctrl-C to cancel.]
```

Receiver:
Sender now gives ID and password to receiver, who enters them at the prompts:

```
$ ./pipe-receive
Please enter your transfer ID: YMUdkcTB
Please enter transfer password: 715910185
$ pipe-receive
Please enter your transfer ID: XESXdZMT
Please enter transfer password: 985126401
```

Sender (`tar v` output):
And then the copy starts, the sender sees:

```
[2020-11-25 00:59:53] pipe-give: (info) correct password received, transferring files...
some_file
1.00GiB 0:00:01 [ 977MiB/s] [ <=> ]
[2020-11-25 00:59:54] pipe-give: (info) transfer complete
```

Receiver (`tar v` output):
The receiver sees:

```
[2020-11-25 00:59:53] pipe-receive: (info) password correct, receiving files...
some_file
1.00GiB 0:00:01 [ 977MiB/s] [ <=> ]
[2020-11-25 00:59:54] pipe-receive: (info) transfer complete
```

0 comments on commit 8a277f8

Please sign in to comment.