mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-23 13:24:19 +02:00
bzip2: add examples (#9256)
This commit is contained in:
parent
2300a4b4ce
commit
f310c52eb5
1 changed files with 17 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# bzip2
|
# bzip2
|
||||||
|
|
||||||
> A block-sorting file compressor.
|
> A block-sorting file compressor.
|
||||||
> More information: <http://bzip.org>.
|
> More information: <https://manned.org/bzip2>.
|
||||||
|
|
||||||
- Compress a file:
|
- Compress a file:
|
||||||
|
|
||||||
|
@ -14,3 +14,19 @@
|
||||||
- Decompress a file to standard output:
|
- Decompress a file to standard output:
|
||||||
|
|
||||||
`bzip2 -dc {{path/to/compressed_file.bz2}}`
|
`bzip2 -dc {{path/to/compressed_file.bz2}}`
|
||||||
|
|
||||||
|
- Test the integrity of each file inside the archive file:
|
||||||
|
|
||||||
|
`bzip2 --test {{path/to/compressed_file.bz2}}`
|
||||||
|
|
||||||
|
- Show the compression ratio for each file processed with detailed information:
|
||||||
|
|
||||||
|
`bzip2 --verbose {{path/to/compressed_files.bz2}}`
|
||||||
|
|
||||||
|
- Decompress a file overwriting existing files:
|
||||||
|
|
||||||
|
`bzip2 --force {{path/to/compressed_file.bz2}}`
|
||||||
|
|
||||||
|
- Display help:
|
||||||
|
|
||||||
|
`bzip2 -h`
|
||||||
|
|
Loading…
Add table
Reference in a new issue