libarchive

Multi-format archive and compression library with command-line tools

brewmacoslinux
Try with needOr install directly
Source

About

Multi-format archive and compression library

Commands

bsdtarbsdcpio

Examples

Extract a tar.gz archive$ bsdtar -xzf archive.tar.gz
Create a compressed tar archive$ bsdtar -czf archive.tar.gz /path/to/files
List contents of an archive without extracting$ bsdtar -tzf archive.tar.gz