Rename extension

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Lichon
New Member
New Member
Posts: 1
Joined: 2006-06-27, 13:08 UTC

Rename extension

Post by *Lichon »

How can find files which do NOT have their extension in lowercase and then make some or all (must be selectable) to lowercase. This is only the extension and NOT the filename.

I think this would involve 3 steps:
a) search (alt+F7) on selected locations. use the plugins: X search in plugins -> plugin: tc -> property: ext -> op: regex -> value: the regex code
b) after search is done, feed it to listbox
c) select files and then use the multi-rename tool. the mask would be: file name: [N] -> extension: [L][E]

However aint good with regex, so need some help with the that code.

Other ways are welcome. Thx
User avatar
szlori
Senior Member
Senior Member
Posts: 263
Joined: 2005-01-17, 07:12 UTC
Location: Sydney

Post by *szlori »

Hi Lichon, welcome aboard!

As for regular expressions, finding capital letter string should be something like:
[A-Z0-9]+
However this doesn't seem to work...
Selecting search in plugins the way you described seems to be the right way.
So I'm not sure, but this might be a bug.
Anybody else?
User avatar
XPEHOPE3KA
Power Member
Power Member
Posts: 854
Joined: 2006-03-03, 18:23 UTC
Location: Saint-Petersburg, Russia

Post by *XPEHOPE3KA »

Use this:

(?-i)[A-Z]

And disable finding directories.
F6, Enter, Tab, F6, Enter, Tab, F6, Enter, Tab... - I like to move IT, move IT!..
Post Reply