|
|
发表于 2010-3-29 22:56:31
|
显示全部楼层
兄弟们呀,多看看man好不好。xz压缩比7z慢,最大问题在于xz不支持多线程,而7z是支持的。man xz里提了支持多线程的参数:-T threads, --threads=threads
Specify the maximum number of worker threads to use. The default is the number of available CPU cores. 但后面的才是关键:Multithreaded compression and decompression are not implemented yet, so this option has no effect for now.
据xz作者说,XZ Utils 5.0.0发布后,加入多线程支持将是开发重点:
http://sourceforge.net/projects/ ... 08858/topic/3515437
man 7z也给出了在linux下备份的例子:On Linux/Unix, in order to backup directories you must use tar :
- to backup a directory : tar cf - directory | 7za a -si directory.tar.7z
- to restore your backup : 7za x -so directory.tar.7z | tar xf - 虽然少了权限,可自行加个参数p不就好了:tar cfp - directory | 7za a -si directory.tar.7z
聚焦深空兄,7z和xz好象不是一个作者:7z的作者是Igor Pavlov,打开下面链接,点击网页上的:[quote]7-Zip by ipavlov[/quote]可看到;
http://sourceforge.net/projects/sevenzip/
xz的作者是:Lasse Collin(IRC昵称: Larhzu,他在sf论坛上也是这个ID)
http://tukaani.org/about.html |
|