Automating Bulk TV Name Changes Through Linux Terminal

TL;DR : bash script HERE
Copy text or pull it from github
Then place it in your /bin folder with the name you want

Run $ sudo chmod +x /bin/”your file name”
***You have to be in the directory you want to change in order to use it ***

First things first: This is my first time posting to a fourm in general.

Second: I got tired of remotely changing the names of my tv shows, episode by episode.

That is why i created a bash script to go through poorly ordered named files and make them fit better with plex and my sanity.

This is a linux terminal command name “TV NAMER”.
The command is just “tvN”

user@server:~/$ tvN

It asks the user the name of the show, the season number, how many episodes and what file format the file is. The command takes all that information and structures the file like so:

SHOW.SxxExxx.FileType

(i.e) Futurama.S01E01.mp4

so as long as the files appear in order already, this can save you time in just a few keystrokes.

i will post the source on github HERE

If you have any suggestions on tweaking it please comment.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.