Rename YouTube-downloaded files

Support for Windows users
Post Reply
Safectsely1999
Posts: 1
Joined: 30 May 2025, 04:40
Contact:

Rename YouTube-downloaded files

Post by Safectsely1999 »

I have several files downloaded from YouTube with no metadata. Can I use FileBot to rename them, and will it update the filenames in Windows Explorer?
User avatar
rednoah
The Source
Posts: 24009
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename YouTube-downloaded files

Post by rednoah »

:?: What are the file names you have and what are the file names you want to rename these files to?

:idea: If you mean to rename generic files that cannot be matched to movies / episodes on TheMovieDB / TheTVDB then you can use [Plain File Mode] Batch Rename any type of file.
:idea: Please read the FAQ and How to Request Help.
kbradford
Posts: 1
Joined: 11 Jun 2025, 04:06

Re: Rename YouTube-downloaded files

Post by kbradford »

Here is an example of 2 file names.

Minecraft A New Beginning - 1.16 Survival Let's play Ep 1
Minecraft Auto Cooked Chicken Farm - 1.16 Survival Let's play Ep 19

Each file is named in a similar fashion with one space before and after the dash and three spaces between the series and the episode number.
Title - Series Ep #
There is no metadata.
Is it possible to use FileBot in Plain File Mode to batch rename each one with the same information but in a different order?
YouTube/Account/Series/Ep # - Title
User avatar
rednoah
The Source
Posts: 24009
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Rename YouTube-downloaded files

Post by rednoah »

kbradford wrote: 11 Jun 2025, 04:14

Code: Select all

Minecraft A New Beginning - 1.16 Survival Let's play   Ep 1
Minecraft Auto Cooked Chicken Farm - 1.16 Survival Let's play   Ep 19
Looks like you can adapt the Organize files based on information present in the file path example to fit your needs.


e.g.

Format: Select all

{
	def n = fn.before(/ - /)
	def e = fn.match(/EP (\d+)/)
	def t = fn.after(/\d+\.\d+/).removeAll(/EP (\d+)/)

	"YouTube/$n/$n - E${e.pad 2} - $t"
}

Code: Select all

YouTube/Minecraft A New Beginning/Minecraft A New Beginning - E01 - Survival Let's play


:?: Does 1.16 mean anything?

:?: Can the Account be inferred from the file name / file path?
:idea: Please read the FAQ and How to Request Help.
Post Reply