溫馨提示×

溫馨提示×

您好,登錄后才能下訂單哦!

密碼登錄×
登錄注冊×
其他方式登錄
點(diǎn)擊 登錄注冊 即表示同意《億速云用戶服務(wù)條款》

roidba的最愛,lz4壓縮工具,備份恢復(fù)再也不用等幾個小時(shí)了啦

發(fā)布時(shí)間:2020-07-30 16:25:19 來源:網(wǎng)絡(luò) 閱讀:1484 作者:roidba 欄目:數(shù)據(jù)庫


壓縮比,效率都很高,至于怎么用,明天發(fā)文章。


1. 下載

http://rpmfind.net/

Search 輸入:lz4

Download

Extras Testing Packages for Enterprise Linux 6 for x86_64

lz4-1.7.5-1.el6.x86_64.rpm

 

2. 安裝

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

 -h/-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) 


向AI問一下細(xì)節(jié)

免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。

AI