随着存档/压缩文件格式数量的增加,是否有一个免费的/开源命令行工具可以将它们全部统治?也许带有一致/统一标志集的东西?(请注意我对tar的友好隐式引用)
我曾经遇到过一组别名,这些别名旨在大大简化通过与tar
utils和其他utils的绑定来压缩/解压缩文件的任务,但是我再也找不到了。
更新:
我该如何配置一些类似的功能atool
,例如不unzip
提取zip文件(显然无法处理大于4GB的文件)并改为使用gunzip
?
$ aunpack large_file.zip
error: Zip file too big (greater than 4294959102 bytes)
Archive: large_file.zip
warning [large_file.zip]: 1491344848 extra bytes at beginning or within zipfile
(attempting to process anyway)
error [large_file.zip]: start of central directory not found;
zipfile corrupt.
(please check that you have transferred or created the zipfile in the
appropriate BINARY mode and that you have compiled UnZip properly)
aunpack: unzip ...: non-zero return-code
unpack
不同之处atool
?
7z
。