• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

lrzip Command Examples in Linux

by Deepika

lrzip is a file compression tool designed for compressing large files. It uses a combination of various compression algorithms and data structures to achieve a high compression ratio, making it particularly well-suited for compressing large files. lrzip is optimized for compressing large files and can be much faster than other traditional file compression tools when working with large files. Additionally, lrzip can also be run in parallel, taking advantage of multiple CPU cores to perform the compression task, further increasing its speed and efficiency. lrzip supports a variety of archive formats, including .lrz, .gz, .bz2, and .xz. Overall, lrzip is a powerful and efficient tool for compressing large files, and is particularly useful for large-scale data processing and backup tasks.

lrzip Command Examples

1. Compress a file with LZMA – slow compression, fast decompression:

# lrzip filename

2. Compress a file with BZIP2 – good middle ground for compression/speed:

# lrzip -b filename

3. Compress with ZPAQ – extreme compression, but very slow:

# lrzip -z filename

4. Compress with LZO – light compression, extremely fast decompression:

# lrzip -l filename

5. Compress a file and password protect/encrypt it:

# lrzip -e filename

6. Override the number of processor threads to use:

# lrzip -p 8 filename

Filed Under: Linux

Some more articles you might also be interested in …

  1. aws lightsail Command Examples
  2. bootctl Command Examples (Control EFI firmware boot settings and manage boot loader)
  3. Linux OS Service ‘setroubleshoot’
  4. base32 Command Examples (Encode or decode file or standard input to/from Base32, to standard output)
  5. arduino: Arduino Studio – Integrated Development Environment for the Arduino platform
  6. How to disable IPv6 on CentOS / RHEL 7
  7. How to configure DM-Multipath from an iSCSI initiator to an iSCSI target in CentOS / RHEL
  8. How to burn an ISO to CD or DVD using Wodim
  9. setfacl: command not found
  10. dmesg: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • csh: The shell (command interpreter) with C-like syntax (Command Examples)
  • csc: The Microsoft C# Compiler (Command Examples)
  • crystal: Tool for managing Crystal source code
  • cryfs: A cryptographic filesystem for the cloud

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright