Command-line tool
file-formula
brew/file-formula
Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev
Utility to determine file types file gnuwin32
At a glance
- Type
- Command-line tool
- Install on
- Windows, macOS, Linux
- Last checked
- 25 Oct 2026, 21:09 UTC
Install it
Windows
winget install --id GnuWin32.File -e scoop install file
macOS
brew install file-formula
Linux
brew install file-formula
Give a description of the type of the specified file
file path/to/file
Do not print the filepath
file -b path/to/file
Look inside a zipped file and determine the file type(s) inside
file -z path/to/file.zip
Related command-line tools
- twoping
Ping utility to determine directional packet loss - sntop
Curses-based utility that polls hosts to determine connectivity - btyacc
A version of Byacc with backtracking (from GNUWin32) - trid
A utility designed to identify file types from their binary signatures. - latexdiff
Compare and mark up LaTeX file differences - texres
Fast TeX engine written in Rust - gzip
Popular GNU data compression program archive gnuwin32 gzip - cfv
Test and create various files (e.g., .sfv, .csv, .crc., .torrent)
Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents