Skip to content

Panonim/ReNamed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Renamed Banner

GitHub Issues GitHub repo size GitHub last commit GitHub Release GitHub Sponsors

Renamed

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.

💡 What it Does

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.

🛠️ How to Use

  1. Download the file

    curl -O https://raw.githubusercontent.com/Panonim/ReNamed/refs/heads/main/main.c
  2. Compile the program:

    gcc -o renamed main.c
  3. Run it:

    ./renamed
  4. 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

Optionally put it inside /usr/local/bin to use it anywhere

⚙️ Options

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

🧠 Features

  • 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

📂 Example

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

Star History Chart

© 2025 Artur Flis. All Rights Reserved.

About

Simple file renamer for shows.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages