Automatically unpacking any compressed file

I can never remember what the apropriate flags to pass to the tar command are to unpack a tar.gz file. Fortunately, on Debian based distros there is the atool package.

sudo apt update
sudo apt install atool

and then simply aunpack whatever zip or tar.gz file you need.

1 Like

You can also use brotli

Just for info, tar.gz files are compressed files very common in img’s for Qualcomm device firmware.