Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

37
bzip2 Normal file
View File

@@ -0,0 +1,37 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# bzip2
> A block-sorting file compressor.
> More information: <https://manned.org/bzip2>.
- Compress a file:
`bzip2 {{path/to/file_to_compress}}`
- [d]ecompress a file:
`bzip2 -d {{path/to/compressed_file.bz2}}`
- [d]ecompress a file to `stdout`:
`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`