ReNamed is a simple, terminal-based C tool that helps you automatically rename and organize episodes of TV shows — including specials — with clean, consistent filenames.
This utility scans a folder of video files (or optionally any files), detects the episode numbers using a variety of common patterns, and renames them based on a user-supplied show name. Special episodes (like OVAs, bonus content, or labeled "SP") are detected and moved into a separate Specials/
subfolder.
-
Download the file
curl -O https://raw.githubusercontent.com/Panonim/ReNamed/refs/heads/main/main.c
-
Compile the program:
gcc -o renamed main.c
-
Run it:
./renamed
-
Follow the prompts:
- Enter the show name (e.g.,
Attack on Titan
) - Enter the path to the folder with episodes
- Review the renaming plan
- Confirm whether to proceed
- Enter the show name (e.g.,
Optionally put it inside /usr/local/bin to use it anywhere
You can also use flags:
-v
Show version info-h
Show usage instructions-f
Force mode – includes all files, not just video formats (.mp4
,.mkv
,.avi
)
Example:
./renamed -f
- Detects and extracts episode numbers from various common naming styles
- Groups and handles specials (e.g., OVA, SP, Bonus) separately
- Skips renaming if the episode number can't be detected
- Shows a full preview of all renames before making changes
- Interactive confirmation step before any file is renamed
- Optionally works on any file type with
-f
Say you have:
Attack_on_Titan_E01.mkv
Attack_on_Titan_Special_01.mp4
Attack_on_Titan_E02.mkv
After running the tool, the folder becomes:
Attack on Titan - 01.mkv
Attack on Titan - 02.mkv
Specials/
Attack on Titan - 01 - Special.mp4
© 2025 Artur Flis. All Rights Reserved.