Rename - Ignore Extension

Have a suggestion for "Everything"? Please post it here.
Post Reply
therube
Posts: 5058
Joined: Thu Sep 03, 2009 6:48 pm

Rename - Ignore Extension

Post by therube »

(F2) [Multi-file] Rename - Ignore Extension

Code: Select all

test 123.mp4
test 123.flv
test 456.mp4
test 456.flv
As it is now, if I select all those files & I want to APPEND some data to the filenames of those files, I have to select the mp4's, individually, & the flv's, individually.

Doing so individually leaves the common extension as a text element:

Code: Select all

test   %1   .mp4
or
test   %1   .flv
Likewise I can APPEND data to the file name & not loose the extension.

Code: Select all

test   %1   river   .mp4
or
test   %1   kwai   .flv
Though had I selected all the files together, mp4 & flv, the files are seen as:

Code: Select all

test   %1
The extension is "eaten" (ends up as part of %1).

So if I APPEND in that way, I get something like this:

Code: Select all

test 123.mp4 river
If there were a checkbox to ignore extension, then I could select all the files, append my wanted data & not end up loosing my extension.


And I ran into just that situation before, Rename caused file deletion [NOT].
And I even alluded to just this RFE back here, multi-file renaming.
mwsm
Posts: 21
Joined: Thu Feb 28, 2013 2:01 am

Re: Rename - Ignore Extension

Post by mwsm »

You can retain different extensions during a rename with this pattern:

Old format: %1.%2
New format: %1 river.%2

which will rename all of your example files from:

test 123.mp4
test 123.flv
test 456.mp4
test 456.flv

to:

test 123 river.mp4
test 123 river.flv
test 456 river.mp4
test 456 river.flv

without having to individually select them.
therube
Posts: 5058
Joined: Thu Sep 03, 2009 6:48 pm

Re: Rename - Ignore Extension

Post by therube »

Neat.
Didn't realize you could add a placeholder to Old format: like that.

Thanks.
Post Reply