I ran into some time-consuming real-world issues yesterday, so I have to apologize for missing a post. I’ll make up for it today.
As today’s tool, or perhaps as yesterday’s tool with another to come, here’s patool.
I don’t use multiarchive tools much. Part of that is just that I rely on
tar most of the time, unless I get a different format from another source. But usually, the things I compress are simply
tar‘ed up. That might make me one of the few people on the planet who knows the proper command sequence to un-
Regardless, patool has a few points that are worth discussion.
Most of patool seems to work as command-action-target format, so extracting a file — just about any compressed file, I might add — is as simple as
patool extract file. The extension of the file appears to be irrelevant to patool — if I rename a file to show a different extension, it manages to extract it anyway.
Of course that might be the flexibility of the underlying compression tools in working with other formats. It’s hard to tell.
patool does a couple of things that you might like. patool can directly repack an archive to switch formats, which could save you a few steps if you’re converting all your old 7zip files into something more modern.
And patool seems smart enough not to overwrite a file that exists already, and will instead create a folder and drop the target in it. Very convenient.
Like a lot of multiarchive tools, patool seems only as multilingual, in terms of archive formats, as what you have installed on your machine. So I’m guessing if you want the ability to decompress .ace files, you’ll need to install unace first. So from a technical standpoint, patool doesn’t really save you any disk space.
patool is python-based, and in both AUR and Debian. If you’re interested in how it compares to multiarchive standbys like atool, unp or dtrx … give it a try and report back to us. 😀