Deark is a portable command-line utility that can decode certain types of files, and either convert them to a more-modern or more-readable format, or extract embedded files from them. It also has an option (-d) to display detailed information about a file’s contents and metadata. It’s free and open source.
The demo digs through Inception-like layers in fbm-1.2.tgz to identify and convert a Sun raster image to PNG.
~250 formats, from obscure (BMI, TN3, etc.) to common (MP3, PNG, etc.), are supported:
UPDATE: More tools in the same vein:
OFRAK: Unpack, modify, and repack binaries
dtrx: "Do The Right Extraction"
unp: A shell frontend for uncompressing/unpacking tools
atool: Script for managing file archives of various types
Binwalk: Analyze, reverse engineer, and extract firmware images.
Universal Extractor 2: Extract files from any type of archive or installer.
/nix | Oct 22, 2021