atool: Script to Manage File Archives of Various Types From Ubuntu Terminal
atool is a script for managing compressed file archives of various types such as .zip , tar.gz , etc from the Ubuntu terminal. It allows you to extract the compressed file archives, create archives and list files in archives.
atool uses following commands to perform the above mentioned functions.
- aunpack: To extract files from the given compressed file archive.
- apack: To create archives.
- als: To list files in archives.
- acat: To extract files to standard out
While extracting the files from a compressed file archive, atool uses aunpack command and extracts all the files into a new directory. It also prevents the local files from being overwritten mistakenly during the extraction.
atool is already available in the official repository of Ubuntu. You can install atool in Ubuntu by running the following commands in the terminal.
sudo apt-get install atool
Once installed, you can run a terminal session in Ubuntu and you run above mentioned commands in the terminal to manage the file archives.
For example, in order to extract an archive file, you can run aupack command in the following format.
<filename> is the full name of the archive file along with its extension.
You can download .deb package, RPM package and source code tarball for atool from the download link given below.