mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-18 03:00:57 +00:00
Update cheatsheets
This commit is contained in:
16
tldr/bzip2
16
tldr/bzip2
@@ -12,26 +12,26 @@ source: https://github.com/tldr-pages/tldr.git
|
||||
|
||||
`bzip2 {{path/to/file_to_compress}}`
|
||||
|
||||
- [d]ecompress a file:
|
||||
- Decompress a file:
|
||||
|
||||
`bzip2 -d {{path/to/compressed_file.bz2}}`
|
||||
`bzip2 {{[-d|--decompress]}} {{path/to/compressed_file.bz2}}`
|
||||
|
||||
- [d]ecompress a file to `stdout`:
|
||||
- Decompress a file to `stdout`:
|
||||
|
||||
`bzip2 -dc {{path/to/compressed_file.bz2}}`
|
||||
`bzip2 {{[-dc|--decompress --stdout]}} {{path/to/compressed_file.bz2}}`
|
||||
|
||||
- Test the integrity of each file inside the archive file:
|
||||
|
||||
`bzip2 --test {{path/to/compressed_file.bz2}}`
|
||||
`bzip2 {{[-t|--test]}} {{path/to/compressed_file.bz2}}`
|
||||
|
||||
- Show the compression ratio for each file processed with detailed information:
|
||||
|
||||
`bzip2 --verbose {{path/to/compressed_files.bz2}}`
|
||||
`bzip2 {{[-v|--verbose]}} {{path/to/compressed_files.bz2}}`
|
||||
|
||||
- Decompress a file overwriting existing files:
|
||||
|
||||
`bzip2 --force {{path/to/compressed_file.bz2}}`
|
||||
`bzip2 {{[-f|--force]}} {{path/to/compressed_file.bz2}}`
|
||||
|
||||
- Display help:
|
||||
|
||||
`bzip2 -h`
|
||||
`bzip2 {{[-h|--help]}}`
|
||||
|
||||
Reference in New Issue
Block a user