patool 1.2 修復了 .gz 文件檢測的錯誤。
patool 是一個壓縮和解壓縮工具,可對壓縮包進行創建、解壓、提取、測試、列表、搜索、比較和重新打包。支持的格式包括:7z (.7z), ACE (.ace), ADF (.adf), ALZIP (.alz), APE (.ape), AR (.a), ARC (.arc), ARJ (.arj), bzip2 (.bz2), CAB (.cab), COMPRESS (.Z), CPIO (.cpio), deb (.deb), DMS (.dms), FLAC (.flac), gzip (.gz), ISO (.iso), LRZIP (.lrz), LZH (.lha, .lzh), LZIP (.lz), LZMA (.lzma), LZOP (.lzo), RPM (.rpm), RAR (.rar), RZIP (.rz), SHN (.shn), tar (.tar), XZ (.xz), zip (.zip, .jar), and ZOO (.zoo) .
使用方法:
# extract two archivespatool extract archive.zip otherarchive.rar# test if archive is intactpatool test --verbose dist.tar.gz# list files inside an archivepatool list package.deb# create a new archivepatool create --verbose myfiles.zip file1.txt dir/# list differences between two archive contentspatool diff release1.0.tar.gz release2.0.zip# search archive contentspatool search "def urlopen" python-3.3.tar.gz# compress the archive in a different formatpatool repack linux-2.6.33.tar.gz linux-2.6.33.tar.bz2