2023-06-27 18:21:31 -04:00
|
|
|
# bzip3
|
|
|
|
|
|
|
|
> An efficient statistical file compressor.
|
2025-03-28 05:26:23 +02:00
|
|
|
> More information: <https://manned.org/bzip3>.
|
2023-06-27 18:21:31 -04:00
|
|
|
|
|
|
|
- Compress a file:
|
|
|
|
|
|
|
|
`bzip3 {{path/to/file_to_compress}}`
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
- Decompress a file:
|
2023-06-27 18:21:31 -04:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`bzip3 {{[-d|--decode]}} {{path/to/compressed_file.bz3}}`
|
2023-06-27 18:21:31 -04:00
|
|
|
|
2024-02-19 11:13:42 -03:00
|
|
|
- Decompress a file to `stdout` ([c]):
|
2023-06-27 18:21:31 -04:00
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`bzip3 {{[-dc|--decode --stdout]}} {{path/to/compressed_file.bz3}}`
|
2023-06-27 18:21:31 -04:00
|
|
|
|
|
|
|
- Test the integrity of each file inside the archive file:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`bzip3 {{[-t|--test]}} {{path/to/compressed_file.bz3}}`
|
2023-06-27 18:21:31 -04:00
|
|
|
|
|
|
|
- Show the compression ratio for each file processed with detailed information:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`bzip3 {{[-v|--verbose]}} {{path/to/compressed_files.bz3}}`
|
2023-06-27 18:21:31 -04:00
|
|
|
|
|
|
|
- Decompress a file overwriting existing files:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`bzip3 {{[-d|--decode]}} {{[-f--force]}} {{path/to/compressed_file.bz3}}`
|
2023-06-27 18:21:31 -04:00
|
|
|
|
|
|
|
- Display help:
|
|
|
|
|
2025-03-28 05:26:23 +02:00
|
|
|
`bzip3 {{[-h|--help]}}`
|