aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Frank Denis <github@pureftpd.org>2017-12-30 13:08:33 +0100
committerGravatar Frank Denis <github@pureftpd.org>2017-12-30 13:08:33 +0100
commitae9f19bae972cbae32189923e6702c622563fcc9 (patch)
tree52b07c17874c797a0aa4e469542c0a1a90ae0b28
parentaa536adba77d7036a16fb5908d3c7022ac33cd03 (diff)
downloadtweetpipe-ae9f19bae972cbae32189923e6702c622563fcc9.tar.gz
Another example0.1
-rw-r--r--README.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/README.md b/README.md
index e784d69..f98675e 100644
--- a/README.md
+++ b/README.md
@@ -20,13 +20,19 @@ encpipe -d -p password -i inputfile -o outputfile
`-i` and `-o` can be set to `-` or omitted to read/write from the
standard input/output.
-Ex:
+Example - encrypted file transfer:
```sh
nc -l 6666 | encpipe -d -p password
encpipe -e -p password -i /etc/passwd | nc 127.0.0.1 6666
```
+Example - compressed, encrypted archives:
+
+```sh
+zstd -5 -v -c "$FILE" | encpipe -e -p "$PASSWD" -o "${FILE}.zstd.encpipe"
+```
+
# Dependencies
None. It includes [libhydrogen](https://github.com/jedisct1/libhydrogen) as