mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
30 lines
695 B
Plaintext
30 lines
695 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, common]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# lzop
|
|
|
|
> Compress or decompress files with LZO compression.
|
|
> More information: <https://www.lzop.org/lzop_man.php>.
|
|
|
|
- Compress a file into a new file with the `.lzo` suffix:
|
|
|
|
`lzop {{path/to/file}}`
|
|
|
|
- Decompress a file:
|
|
|
|
`lzop {{[-d|--decompress]}} {{path/to/file.lzo}}`
|
|
|
|
- Compress a file, while specifying the compression level. 0 = Worst, 9 = Best (Default level is 3):
|
|
|
|
`lzop -{{level}} {{path/to/file}}`
|
|
|
|
- Compress a file with the best compression level:
|
|
|
|
`lzop {{[-9|--best]}} {{path/to/file}}`
|
|
|
|
- Compress a file with the fastest compression level:
|
|
|
|
`lzop {{[-1|--fast]}} {{path/to/file}}`
|