From f465e4720e45ad7c6f4849bd74af7e27fefabc18 Mon Sep 17 00:00:00 2001 From: Vincent Batts Date: Tue, 28 Jul 2015 17:16:04 -0400 Subject: [PATCH] cmd/tar-split: adding to the README --- cmd/tar-split/README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cmd/tar-split/README.md b/cmd/tar-split/README.md index 5451be0..eae23c2 100644 --- a/cmd/tar-split/README.md +++ b/cmd/tar-split/README.md @@ -1,5 +1,8 @@ -## tar-split utility +# tar-split utility +## Installation + + go get -u github.com/vbatts/tar-split/cmd/tar-split ## Usage @@ -9,14 +12,14 @@ $ sha256sum archive.tar d734a748db93ec873392470510b8a1c88929abd8fae2540dc43d5b26f7537868 archive.tar $ mkdir ./x -$ tar-split d --output tar-data.json.gz ./archive.tar | tar -C ./x -x +$ tar-split disasm --output tar-data.json.gz ./archive.tar | tar -C ./x -x time="2015-07-20T15:45:04-04:00" level=info msg="created tar-data.json.gz from ./archive.tar (read 204800 bytes)" ``` ### Assembly ```bash -$ tar-split a --output new.tar --input ./tar-data.json.gz --path ./x/ +$ tar-split asm --output new.tar --input ./tar-data.json.gz --path ./x/ INFO[0000] created new.tar from ./x/ and ./tar-data.json.gz (wrote 204800 bytes) $ sha256sum new.tar d734a748db93ec873392470510b8a1c88929abd8fae2540dc43d5b26f7537868 new.tar