Skip to content

Commit

Permalink
Added syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Zi1mo5zo committed Nov 22, 2018
1 parent 3680987 commit 08f7b4a
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,31 @@ Inspired by [magic-wormhole](https://github.com/warner/magic-wormhole) and
[dat-cp](https://github.com/tom-james-watson/dat-cp). Initially published
[here](https://www.reddit.com/r/ipfs/comments/9yyqi1/dat_dcpstyle_functionality_for_encrypted_assets/?utm_source=reddit-android).

Have fun!
# Usage

## Send a file

On machine A:

```
ipfs-wormhole.sh send <filename>
```

Will encrypt and add the file to IPFS, and output a tag (and copy it to the
clipboard if xclip is installed).

## Receive a file

On machine B:

```
ipfs-wormhole.sh receive <tag>
```

Will retrieve the file over IPFS, decrypt it and save it locally.

## Update from the github repo

```
ipfs-wormhole.sh update
```

0 comments on commit 08f7b4a

Please sign in to comment.