Rename files while retaining the original extension

A swapping-ground for Regular Expression syntax

Rename files while retaining the original extension

Postby kfctombraider » Tue May 08, 2007 9:20 pm

Hi all,

Need some help, I need to rename some images from their original name with an extension to a new name without an extension listed in an excel file or text file while keeping the original extension as I do it. For example, the original image name is xhurme.tif in one column and the new name is 123456, I need the images batch renamed to 123456.tif. If the original name is sjuehg.jpg or sjeiej.eps and the new name is 123457 and 123458 they should be renamed to 123457.jpg and 123458.eps respectively, and if possible to a new folder. There used to be a DOS way to do it but I can't find anyone who knows how to do it, thus I thought I'd see if this utility would. Thanks for your responses.

Posts: 1
Joined: Fri May 04, 2007 6:46 pm

Postby Admin » Wed May 09, 2007 8:42 am

Your best bet is to put together a spreadsheet / text file listing the old name and new name, and then use the "import rename pairs" facility.

Site Admin
Posts: 1505
Joined: Tue Mar 08, 2005 8:39 pm

Return to Regular Expressions