mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 05:41:49 +00:00
27 lines
492 B
Plaintext
27 lines
492 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# pbzip2
|
|
|
|
> A parallel implementation of the `bzip2` file compressor.
|
|
> See also: `bzip2`, `tar`.
|
|
> More information: <https://manned.org/pbzip2>.
|
|
|
|
- Compress a file:
|
|
|
|
`pbzip2 {{path/to/file}}`
|
|
|
|
- Compress a file using the specified number of processors:
|
|
|
|
`pbzip2 -p{{4}} {{path/to/file}}`
|
|
|
|
- [d]ecompress a file:
|
|
|
|
`pbzip2 --decompress {{path/to/compressed_file.bz2}}`
|
|
|
|
- Display help:
|
|
|
|
`pbzip2 -h`
|