detox
« Back to VersTracker
Description:
Utility to replace problematic characters in filenames
Type: Formula  |  Latest Version: 3.0.1@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: filename renaming cli utility filesystem
Install: brew install detox
About:
Detox is a command-line utility designed to clean up filenames by removing or replacing problematic characters that cause issues with different filesystems or operating systems. It can automatically sanitize filenames by converting spaces to underscores, removing special characters, and handling Unicode normalization. This tool is particularly useful for organizing large collections of files downloaded from various sources with inconsistent naming conventions.
Key Features:
  • Automatically replaces spaces and special characters with underscores
  • Supports Unicode normalization for consistent filename encoding
  • Configurable via simple text files for custom cleaning rules
  • Can process entire directory trees recursively
  • Safe operation with dry-run capability
Use Cases:
  • Sanitizing downloaded files from the internet with inconsistent naming
  • Preparing files for cross-platform file system compatibility
  • Batch renaming large collections of files to follow consistent naming conventions
Alternatives:
  • rename – Perl-based bulk renaming tool with more complex pattern matching capabilities
  • mmv – Interactive bulk file mover/renamer with wildcard support
License: BSD-3-Clause
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, arm64_ventura, sonoma, ventura, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 15, 2025 8:27am 0 VERSION_BUMP c63e8f62
Sep 12, 2024 4:57pm 0 VERSION_BUMP 0d86b6e6