mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-23 01:42:09 +02:00

* Create lzip.md Added lzip common page, based on the 7z example (commands are very similar) * TLDR-bot fixes * Make description 1 line and added double quotes * More fixes for the bot * Update lzip.md * Update lzip.md * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> * Apply suggestions from code review * Update pages/common/lzip.md Co-authored-by: CleanMachine1 <78213164+CleanMachine1@users.noreply.github.com> Co-authored-by: Axel Navarro <navarroaxel@gmail.com>
1 KiB
1 KiB
lzip
Lzip is a lossless data compressor with a user interface similar to
gzip
orbzip2
. Lzip uses a simplified form of the "Lempel-Ziv-Markovchain-Algorithm"z (LZMA) stream format and provides a 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}}