diff options
| author | 2017-12-30 13:08:33 +0100 | |
|---|---|---|
| committer | 2017-12-30 13:08:33 +0100 | |
| commit | ae9f19bae972cbae32189923e6702c622563fcc9 (patch) | |
| tree | 52b07c17874c797a0aa4e469542c0a1a90ae0b28 | |
| parent | aa536adba77d7036a16fb5908d3c7022ac33cd03 (diff) | |
| download | tweetpipe-ae9f19bae972cbae32189923e6702c622563fcc9.tar.gz | |
Another example0.1
| -rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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 |