cheat/cheat/cheatsheets/bzip2

12 lines
185 B
Plaintext
Raw Normal View History

2016-09-01 12:28:28 +02:00
# compress foo -> foo.bz2
bzip2 -z foo
# decompress foo.bz2 -> foo
2016-11-27 16:31:49 +01:00
bzip2 -d foo.bz2
2016-09-01 12:28:28 +02:00
# compress foo to stdout
bzip2 -zc foo > foo.bz2
# decompress foo.bz2 to stdout
bzip2 -dc foo.bz2