XZ compression format

Vote 0 Votes

xz 格式壓縮率比 bzip2 還高,
XZ Utils 所提供的 Source tar ball 來看,
xz 格式是 bzip2 格式的 88%, gz 格式的 72%

XZ Utils 網站上有 Windows 版的 CLI 工具
單解 xz 檔範
xz -d FreeBSD-8.2-RELEASE-i386-dvd1.iso.xz

xzdec FreeBSD-8.2-RELEASE-i386-dvd1.iso.xz > FreeBSD-8.2-RELEASE-i386-dvd1.iso

tar 從 1.22 版才開始支援 xz, 不過是呼叫 xz 來使用, 不是原生支援 xz
tar cJf file.tar.xz files
tar Jxvf file.tar.xz

若 tar 比較較不支援 xz, 解 tar.xz 方法
xzdec file.tar.xz | tar xv

About this Entry

This page contains a single entry by Pank published on March 1, 2011 3:35 PM.

Enable Procmail large file support was the previous entry in this blog.

Google Calendar Sync is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Monthly Archives