Page 1 of 1

Batch Rename Question

Posted: 10 Nov 2017 20:43
by dalcombright
I have individual file folders that I am trying to rename based on a text list... Wanted to know how to "insert into" if its possible?

Code: Select all

Paul (2011).1080p.jpg
Paul (2011).1080p.mkv
Paul (2011).1080p.nfo
Paul (2011).1080p-fanart.jpg
Paul (2011).1080p-trailer.mkv
I am trying to add the following between MovieName (YYYY).bluray.resolution.ext.

So outcome would be:

Code: Select all

Paul (2011).bluray.1080p.jpg
Paul (2011).bluray.1080p.mkv
Paul (2011).bluray.1080p.nfo
Paul (2011).bluray.1080p-fanart.jpg
Paul (2011).bluray.1080p-trailer.mkv
Is this possible? I have about 600 of these to do if not haha.

Re: Batch Rename Question

Posted: 10 Nov 2017 20:53
by bdeshi
Hi, welcome to the Club. :D

If the resolution segment has no period in it, then a regex rename should do it.
Select the file(s), then open File > Rename Special > Regex Rename and enter this pattern.

Code: Select all

((\.[^.]+){2})$ > .bluray$1

Re: Batch Rename Question

Posted: 11 Nov 2017 20:56
by dalcombright
SammaySarkar wrote:Hi, welcome to the Club. :D

If the resolution segment has no period in it, then a regex rename should do it.
Select the file(s), then open File > Rename Special > Regex Rename and enter this pattern.

Code: Select all

((\.[^.]+){2})$ > .bluray$1
thank you kindly, worked like a charm.