unp

Automatically detects and extracts archive files of any format

brewmacoslinux
Try with needOr install directly
Source

About

Unpack everything with one command

Commands

unp

Examples

Extract a tar.gz archive$ unp archive.tar.gz
Extract a ZIP file$ unp archive.zip
Extract multiple archives at once$ unp file1.rar file2.7z file3.tar.bz2