使用7z创建存档(最佳压缩)

・1 分钟阅读

使用7z创建存档(最佳压缩)

7z a -mx=9 -ms=on archive.7z files_for_archiving/
创建有最高可能压缩(Ultra )的归档文件,7z的优点是它将使用所有处理器核心来创建存档。
示例输出
m6@yoda:/var$ 7z a -mx=9 -ms=on archive.7z files_for_archiving/
7-Zip 9.04 beta Copyright (c) 1999-2009 Igor Pavlov 2009-05-30
p7zip Version 9.04 (locale=en_US.utf8,Utf16=on,HugeFiles=on,2 CPUs)
Scanning
Creating archive archive.7z
Compressing system/cache/b92c3fe103ae66295e73775cf4a376b1 
Compressing i/desktop_branded/__200x142__ 
Compressing i/laptops/__200x142__ 
Compressing i/memory_cards/__200x142__ 
...
.
讨论
Hujiuxiang profile image