Page 1 of 1

Rename YouTube-downloaded files

Posted: 30 May 2025, 04:44
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?

Re: Rename YouTube-downloaded files

Posted: 30 May 2025, 04:48
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.

Re: Rename YouTube-downloaded files

Posted: 11 Jun 2025, 04:14
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

Re: Rename YouTube-downloaded files

Posted: 11 Jun 2025, 06:24
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?