mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-19 17:50:28 +00:00
Update cheatsheets
This commit is contained in:
22
zlib-flate
Normal file
22
zlib-flate
Normal file
@@ -0,0 +1,22 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# zlib-flate
|
||||
|
||||
> Raw zlib compression and decompression program.
|
||||
> Part of `qpdf`.
|
||||
> More information: <https://manned.org/zlib-flate>.
|
||||
|
||||
- Compress a file:
|
||||
|
||||
`zlib-flate -compress < {{path/to/input_file}} > {{path/to/compressed.zlib}}`
|
||||
|
||||
- Uncompress a file:
|
||||
|
||||
`zlib-flate -uncompress < {{path/to/compressed.zlib}} > {{path/to/output_file}}`
|
||||
|
||||
- Compress a file with a specified compression level. 0=Fastest (Worst), 9=Slowest (Best):
|
||||
|
||||
`zlib-flate -compress={{compression_level}} < {{path/to/input_file}} > {{path/to/compressed.zlib}}`
|
||||
Reference in New Issue
Block a user