HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

lzop — Compress or decompress files with LZO compression. More information: <https://www.lzop.org/lzop_man.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandfilesdecompressclilzowithcompresslzop

Problem

How to use the lzop command: Compress or decompress files with LZO compression. More information: <https://www.lzop.org/lzop_man.php>.

Solution

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}}

Code Snippets

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}}

Context

tldr-pages: common/lzop

Revisions (0)

No revisions yet.