Batch Rename Question

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
dalcombright
Posts: 2
Joined: 10 Nov 2017 20:38

Batch Rename Question

Post 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.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Batch Rename Question

Post 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
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

dalcombright
Posts: 2
Joined: 10 Nov 2017 20:38

Re: Batch Rename Question

Post 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.

Post Reply