Copy link to clipboard
Copied
How do I use Batch Rename to remove file extensions? Yes, I'm really sure that I want to do this. The closest I can get is the filename with a leading space.
And what if Bridge’s Batch Rename tool has been specifically designed to not allow you to do what you want? I wish you all the best in your quest to make Bridge’s Batch Rename tool work as you wish, please post back the answer once you know it.
Copy link to clipboard
Copied
I don’t think that Bridge is the right tool for this task.
Copy link to clipboard
Copied
Thanks but I'm looking for an answer. I know EXACTLY what I need to do and why I am using Bridge.
Copy link to clipboard
Copied
A Bridge script can do this...
#target bridge
if( BridgeTalk.appName == "bridge" ) {
removeEXT = MenuElement.create( "command", "Remove Extensions", "at the end of tools");
}
removeEXT.onSelect = function () {
var thumbs = app.document.selections;
for(var a in thumbs){
var Name = decodeURI(thumbs.spec.name).replace(/\.[^\.]+$/, '');
thumbs.spec.rename(Name);
}
};
Copy link to clipboard
Copied
You were provided with an answer, however you did not like the answer. Can you post a screenshot of your Batch Rename settings? Your OP was not clear regarding your results. Batch Rename appears to be designed to make it hard (impossible?) to do what you are asking, which is probably why SuperMerlin provided a script alternative.
Copy link to clipboard
Copied
I don’t have the settings handy, they are on my machine at work. And yes, I REALLY REALLY REALLY know EXACTLY what I need to do and why. No, a script won’t work for me. Now please, either provide a specific answer or don’t reply with something off-topic.
I need to use Batch Rename to JUST remove file extensions. Not another tool or script, and not anything else.
Copy link to clipboard
Copied
And what if Bridge’s Batch Rename tool has been specifically designed to not allow you to do what you want? I wish you all the best in your quest to make Bridge’s Batch Rename tool work as you wish, please post back the answer once you know it.
Copy link to clipboard
Copied
What are you trying to accomplish by removing the extensions from the files? Long term this will lead to file incompatibility issues. Mac or PC? Both offer the ability to hide the extension in the OS if it's for aesthetics. On mac, even trying to use the features in batch rename that simply show file name or extension, only the extension option works and regex will not touch the extension. If you're on a mac, they introduced batch rename in finder, which can nuke the extension for you.