tldr/pages/common/bzip3.md

33 lines
686 B
Markdown
Raw Normal View History

2023-06-27 23:21:31 +01:00
# bzip3
> An efficient statistical file compressor.
> More information: <https://github.com/kspalaiologos/bzip3>.
- Compress a file:
`bzip3 {{path/to/file_to_compress}}`
- Decompress a file:
`bzip3 -d {{path/to/compressed_file.bz3}}`
- Decompress a file to `stdout`:
2023-06-27 23:21:31 +01:00
`bzip3 -dc {{path/to/compressed_file.bz3}}`
- Test the integrity of each file inside the archive file:
`bzip3 --test {{path/to/compressed_file.bz3}}`
- Show the compression ratio for each file processed with detailed information:
`bzip3 --verbose {{path/to/compressed_files.bz3}}`
- Decompress a file overwriting existing files:
`bzip3 --force {{path/to/compressed_file.bz3}}`
- Display help:
`bzip3 -h`