mdit
A powerful MP3 Metadata Editor built in pure Bash. Edit titles, artists, and albums directly from the terminal.
Simple Yet Powerful
mdit is a command-line tool that makes editing MP3 metadata incredibly easy. No complex setup, no bloated GUI - just pure, simple functionality.
Built entirely in Bash, mdit provides fast, reliable tag editing with support for interactive mode, batch processing, and regex-powered find & replace.
Why Choose mdit?
Interactive Mode
Interactively select which MP3s to modify. Preview each file and decide with a simple y/n/f prompt.
Batch Processing
Edit all files at once with find & replace. Use regex for powerful pattern matching across your library.
Each Mode
Edit each file individually with custom prompts. Perfect for unique changes to each track.
Safe by Default
Original files stay untouched. Modified files go to mdit_output folder unless you use -i flag.
Show Tags
Quickly view all metadata with -s or -ss flags. Read-only mode for inspecting your collection.
Free & Open
Completely free and open source. No ads, no premium tiers, no BS.
Installation
Quick Install
Clone the repository and run the install script:
Uninstallation
If you ever want to remove mdit (but why would you? π):
Options
| Option | Name | Description |
|---|---|---|
(none) |
Interactive | Default mode. Interactively select which MP3s to modify. |
-s |
Show | Lists Title, Artist, and Album for all files. Read-only. |
-ss |
ShowSmall | Lists metadata in a compact format. Read-only. |
-a |
All | Auto-selects all MP3s, skipping interactive selection. |
-e |
Each | Prompts for each file individually with unique edits. |
-i |
In-place | β οΈ DANGER: Replaces original files with modified ones. |
-h |
Help | Displays help message and exits. |
Workflow Examples
π― Interactive Selection
The default workflow. Select files interactively, then apply find & replace to all.
βοΈ Edit Each File
Perfect for unique changes. Edit title, artist, or album for each file individually.
π¦ Batch All Files
Auto-select all files for batch processing. Great for fixing entire albums at once.
ποΈ View Tags Only
Read-only mode. Quickly inspect all metadata without making any changes.
β οΈ In-Place Editing (Danger Zone)
β οΈ Back up your files first! The -i flag replaces your originals. By default, mdit saves changes to mdit_output/ and leaves originals untouched.
Ready to organize your music library? π΅
Get mdit on GitHub