Code Yarns ‍👨‍💻
Tech BlogPersonal Blog


How to manage zip files using atool

📅 2013-Jan-25 ⬩ ✍️ Ashwin Nanjappa ⬩ 🏷️ atool, zip ⬩ 📚 Archive

Files available on the internet are in a myriad archive or compressed formats. And when you want to zip some files, you might find yourself choosing different compression formats depending on the intended use, receiver or file size.

It would be easy to have a single commandline tool that can deal with all these compression formats. Thankfully, both Ubuntu and Cygwin ship with the awesome atool.

$ aunpack foobar.7z
$ aunpack foobar.zip some/file.jpg other/file2.txt
$ apack foobar.bz2 foobar/*
$ als foobar.zip

Tried with: atool 0.38.0 and Ubuntu 12.04.1 LTS, atool 0.39.0 and Cygwin 1.7.22


© 2026 Ashwin Nanjappa • All writing under CC BY-SA license • 🐘 Mastodon🦋 Bluesky📧 Email