Change some of the filename based on folder name

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mouzzampk
Junior Member
Junior Member
Posts: 15
Joined: 2021-03-18, 14:20 UTC

Change some of the filename based on folder name

Post by *mouzzampk »

Hi, my scenario is this

I have folder name like that

Code: Select all

/Without Eyes (2015)/Season 01/Without.Eyes.S01E01.1080p.BluRay.x264-LIFE
so I am looking to add the year from folder name into filename

Code: Select all

/Without Eyes (2015)/Season 01/Without.Eyes.2015.S01E01.1080p.BluRay.x264-LIFE
or other few cases are

Code: Select all

/Life Is Great (2013)/Season 02/Life.is.Great.S02E01.1080p.BluRay.x264-LIFE
where I is capital in folder and I want to change that in filename and also add year to make it like that

Code: Select all

/Life Is Great (2013)/Season 02/Life.Is.Great.2013.S02E01.1080p.BluRay.x264-LIFE
And leave every thing as it is after

Code: Select all

.S0
or

Code: Select all

.S1
Basically I want to use the Folder Name into FIlename and replace it with whatever I have before `.S0` or `.S1`

Thanks
Post Reply