tldr/pages/common/lzop.md

17 lines
382 B
Markdown
Raw Normal View History

2020-01-28 19:12:51 +00:00
# lzop
> Compress or decompress files with LZO compression.
> More information: <https://www.lzop.org/>.
- Compress a file into a new file with the `.lzo` suffix:
2020-01-28 19:12:51 +00:00
2022-12-04 09:12:49 +00:00
`lzop {{path/to/file}}`
2020-01-28 19:12:51 +00:00
- Decompress a file:
2022-12-04 09:12:49 +00:00
`lzop -d {{path/to/file}}.lzo`
2020-01-28 19:12:51 +00:00
2020-12-04 12:37:44 +00:00
- Compress a file, while specifying the compression level. 0 = Worst, 9 = Best (Default level is 3):
2020-01-28 19:12:51 +00:00
2022-12-04 09:12:49 +00:00
`lzop -{{level}} {{path/to/file}}`