From f1253031f28ff98e0618a4123efdf141d6a43161 Mon Sep 17 00:00:00 2001 From: Klaatu Date: Thu, 1 Sep 2016 22:28:28 +1200 Subject: [PATCH] bzip2 --- cheat/cheatsheets/bzip2 | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 cheat/cheatsheets/bzip2 diff --git a/cheat/cheatsheets/bzip2 b/cheat/cheatsheets/bzip2 new file mode 100644 index 0000000..fe6935a --- /dev/null +++ b/cheat/cheatsheets/bzip2 @@ -0,0 +1,11 @@ +# compress foo -> foo.bz2 +bzip2 -z foo + +# decompress foo.bz2 -> foo +bzip2 -d foo.bz2 + +# compress foo to stdout +bzip2 -zc foo > foo.bz2 + +# decompress foo.bz2 to stdout +bzip2 -dc foo.bz2