cheat-fork-echo/cheat/cheatsheets/bzip2
2016-11-27 10:31:49 -05:00

12 lines
185 B
Plaintext

# 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