mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-08 04:57:24 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
42
tldr/lzip
Normal file
42
tldr/lzip
Normal file
@@ -0,0 +1,42 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# lzip
|
||||
|
||||
> A lossless data compressor with a user interface similar to `gzip` or `bzip2`.
|
||||
> Lzip uses a simplified form of the "Lempel-Ziv-Markovchain-Algorithm" (LZMA) stream format and provides 3-factor integrity checking to maximize interoperability and optimize safety.
|
||||
> More information: <https://www.nongnu.org/lzip>.
|
||||
|
||||
- Archive a file, replacing it with with a compressed version:
|
||||
|
||||
`lzip {{path/to/file}}`
|
||||
|
||||
- Archive a file, keeping the input file:
|
||||
|
||||
`lzip -k {{path/to/file}}`
|
||||
|
||||
- Archive a file with the best compression (level=9):
|
||||
|
||||
`lzip -k {{path/to/file}} --best`
|
||||
|
||||
- Archive a file at the fastest speed (level=0):
|
||||
|
||||
`lzip -k {{path/to/file}} --fast`
|
||||
|
||||
- Test the integrity of compressed file:
|
||||
|
||||
`lzip --test {{path/to/archive.lz}}`
|
||||
|
||||
- Decompress a file, replacing it with the original uncompressed version:
|
||||
|
||||
`lzip -d {{path/to/archive.lz}}`
|
||||
|
||||
- Decompress a file, keeping the archive:
|
||||
|
||||
`lzip -d -k {{path/to/archive.lz}}`
|
||||
|
||||
- List files which are in an archive and show compression stats:
|
||||
|
||||
`lzip --list {{path/to/archive.lz}}`
|
||||
Reference in New Issue
Block a user