Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Roidba's favorite, lz4 compression tool, backup recovery will no longer have to wait a few hours.

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Compression ratio, efficiency are very high, as for how to use, post tomorrow.

1. download

Http://rpmfind.net/

Search input: lz4

Download

Extras Testing Packages for Enterprise Linux 6 for x86_64

Lz4-1.7.5-1.el6.x86_64.rpm

two。 Installation

Http://rpmfind.net/

# rpm-ivh lz4-1.7.5-1.el6.x86_64.rpm

# rpm-qa | grep lz4

Lz4-1.7.5-1.el6.x86_64

# lz4-help

* * LZ4 command line interface 64-bits v1.7.5, by Yann Collet * *

Usage:

Lz4 [arg] [input] [output]

Input: a filename

With no FILE, or when FILE is-or stdin, read standard input

Arguments:

-1: Fast compression (default)

-9: High compression

-d: decompression (default for .lz4 extension)

-z: force compression

-f: overwrite output without prompting

-k: preserve source files (s) (default)

-- rm: remove source file (s) after successful de/compression

-hhand Mutual H: display help/long help and exit

Advanced arguments:

-V: display Version number and exit

-v: verbose mode

-Q: suppress warnings; specify twice to suppress errors too

-c: force write to standard output, even if it is the console

-t: test compressed file integrity

-m: multiple input files (implies automatic output filenames)

-r: operate recursively on directories (sets also-m)

-l: compress using Legacy format (Linux kernel compression)

-B#: Block size [4-7] (default: 7)

-BD: Block dependency (improve compression ratio)

-- no-frame-crc: disable stream checksum (default:enabled)

-- content-size: compressed frame includes original size (default:not present)

[no-] sparse: sparse mode (default:enabled on file, disabled on stdout)

Benchmark arguments:

-b #: benchmark file (s), using # compression level (default: 1)

-e #: test all compression levels from-bX to # (default: 1)

-i#: minimum evaluation time in seconds (default: 3s)

-B#: cut file into independent blocks of size # bytes [32 +]

Or predefined block size [4-7] (default: 7)

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report