momo zone

调核人的blog

linux 平台上的多线程压缩工具

使用p7zip软件包中的7za可以实现zip压缩多线程:
默认参数压缩多个文件 7za a archive.zip bigfile1 ... bigfileN
使用BZip2算法压缩单个文件 7za a -mm=BZip2 archive.zip bigfile
使用pigz可以实现gzip压缩多线程:
pigz -K -k archive.zip bigfile txt
Advertisements

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: