file-formula
« Back to VersTracker
Description:
Utility to determine file types
Type: Formula  |  Tracked Since: Dec 28, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: cli file-system utility developer-tools system
Install: brew install file-formula
About:
FileFormula is a command-line utility that identifies and classifies files based on their content and structure, rather than just file extensions. It leverages the underlying libmagic library to provide detailed information about file types, encoding, and formats. This tool is essential for developers and system administrators needing to verify file integrity and automate data processing workflows.
Key Features:
  • Content-based file type detection
  • Detailed metadata output
  • Support for a wide range of file formats
  • Integration with standard Unix pipelines
Use Cases:
  • Validating file types in automated upload scripts
  • Inspecting unknown files received from external sources
  • Filtering data streams by file content type
Alternatives:
  • file – The standard Unix utility; FileFormula is essentially a Homebrew distribution of this core tool.
  • mimetype – Focuses specifically on MIME types, whereas FileFormula provides more detailed technical analysis.
Version History
Detected Version Rev Change Commit
Sep 13, 2025 7:28pm 0 VERSION_BUMP a8571573