|
atool:
Repository : community
Name : atool
Version : 0.37.0-4
URL : http://www.nongnu.org/atool/
Licenses : GPL3
Groups : None
Provides : None
Depends On : file perl
Optional Deps : bzip2: for using atool with bzip2 compressed archives
cpio: for using atool with cpio archives
gzip: for using atool with gzip compressed archives
lha: for using atool with lha, lharc and similar archives
lzma-utils: for using atool with lzma compressed archives
lzop: for using atool with lzop compressed archives
p7zip: for using atool with 7z archives
tar: for using atool with tar archives
unace: for using atool with ace archives
zip: for using atool for creating zip archives
unzip: for using atool for unpacking archives
Download Size : 24.67 K
Installed Size : 112.00 K
Packager : PKGBUILD.com Build Server
Architecture : any
Build Date : Sat 16 Jan 2010 10:09:50 AM CST
MD5 Sum : 439646f08ad00e2fca6737355343ec9c
Description : A script for managing file archives of various types
是许多归档/压缩工具的包装,这种工具有不少,但功能如此强大的也只这atool,基本能实现必要功能(创建、解压、查看、文件列表、比较、更新),从此不用再为各种工具参数不同而烦恼了。
文件:
atool /usr/bin/acat
atool /usr/bin/adiff
atool /usr/bin/als
atool /usr/bin/apack
atool /usr/bin/arepack
atool /usr/bin/atool
atool /usr/bin/aunpack
看上去好多,但实质只有atool一个文件,其余的都是链接,是一个2000多行的perl脚本,比较小巧。
它基本能支持所有主流格式(tar,cpio,gz,bzip2,xz,lzma,compress,lzop,7z,lzip,zip,jar,war,rar,lha,lhz,alzip,ace,ar,arj,arc,rpm,deb,cab,bzip,rzip,lrzip)
只想你安装了相关工具,操作参数是统一的。
可以用-F来指定格式,这样可以很容易用7z来解压zip或rar。
如果无扩展名,自动调用file检测文件类型。
支持“智能解压”,避免多个文件解到当前目录。
-e选项支持一次操作多个文件,而无需用for。
支持改变压缩格式(如把.tgz改成.txz)。
支持模拟操作。
支持配置文件,众多选项。
如果有其他需要,可以自己写脚本进行扩展。 |
|