Options (6)
-d, --decompressbooleanDecompress a file
Example:
bzip2 {{[-d|--decompress]}} {{path/to/compressed_file.bz2}}booleanDecompress a file to `stdout`
Example:
bzip2 {{[-dc|--decompress --stdout]}} {{path/to/compressed_file.bz2}}-t, --testbooleanTest the integrity of each file inside the archive file
Example:
bzip2 {{[-t|--test]}} {{path/to/compressed_file.bz2}}-v, --verbosebooleanShow the compression ratio for each file processed with detailed information
Example:
bzip2 {{[-v|--verbose]}} {{path/to/compressed_files.bz2}}-f, --forcebooleanDecompress a file overwriting existing files
Example:
bzip2 {{[-f|--force]}} {{path/to/compressed_file.bz2}}-h, --helpbooleanDisplay help
Example:
bzip2 {{[-h|--help]}}Examples (7)
Compress a file
bzip2 path/to/file_to_compressDecompress a file
bzip2 [-d|--decompress] path/to/compressed_file.bz2Decompress a file to `stdout`
bzip2 [-dc|--decompress --stdout] path/to/compressed_file.bz2Test the integrity of each file inside the archive file
bzip2 [-t|--test] path/to/compressed_file.bz2Show the compression ratio for each file processed with detailed information
bzip2 [-v|--verbose] path/to/compressed_files.bz2Decompress a file overwriting existing files
bzip2 [-f|--force] path/to/compressed_file.bz2Display help
bzip2 [-h|--help]made by @shridhargupta | data from tldr-pages