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