apack

tool for managing file archives of various types

Install

All systems
curl cmd.cat/apack.sh
Debian Debian
apt-get install atool
Ubuntu
apt-get install atool
Arch Arch Linux
pacman -S atool
image/svg+xml Kali Linux
apt-get install atool
Fedora
dnf install atool
Windows (WSL2)
sudo apt-get update sudo apt-get install atool
OS X
brew install atool
Raspbian
apt-get install atool

atool

tool for managing file archives of various types

atool is a script for managing file archives of various types (tar, tar+gzip, zip etc). The main command is probably aunpack, extracting files from an archive. It overcomes the dreaded "multiple files in archive root" problem by first extracting to a unique subdirectory, and then moving back the files if possible. aunpack also prevents local files from being overwritten by mistake. Other commands provided are apack (create archives), als (list files in archives), and acat (extract files to standard out).