or Connect
AppleInsider › Forums › General › Genius Bar › How to Change the File Extension of Multiple Files
New Posts  All Forums:Forum Nav:

How to Change the File Extension of Multiple Files

post #1 of 5
Thread Starter 
i want to change extension .JPG to .jpg to all my files..

pls guide me how to do it.
post #2 of 5
You can do it with Automator and the "Change Extension" script here. (scroll down the page a bit and click on the "Change Extension" heading of the descriptive paragraph, the script will download).

Once the script is downloaded, open Automator from your Apps folder. In the Library column, click "Files and Folders." From the column to the right of that, click and drag "Get Specified Finder Items" into the area that says "Drag actions or files here to start your workflow." You'll see a pane appear. From the Finder, drag your folder of items to be renamed onto that pane.

Now, from the Automator File menu item, click "Import Actions", navigate to the action you downloaded, highlight, and click "Import." Go back to your Library column and click "Recently Added", the new action will be there. Drag that under your "Get Specified Finder Items" action over on the right.

Now you have the files selected and the change extension action ready to go. Just type in the extension you want the files to have in the "Change Extensions" action pane, and click the run button on the top right, and you're done. Just make sure you have only the files you want to change in the folder specified.
They spoke of the sayings and doings of their commander, the grand duke, and told stories of his kindness and irascibility.
Reply
They spoke of the sayings and doings of their commander, the grand duke, and told stories of his kindness and irascibility.
Reply
post #3 of 5
Try R-Name from here:

http://www.box.net/shared/riqei9vpnl

Download R-name3.dmg.gz. It's a great renaming utility that lets you see a preview before renaming and has a whole bunch of options.

There's also A Better Finder Rename:

http://www.publicspace.net/ABetterFinderRename/

which works as a contextual menu item so you select files, right-click and open the renamer.
post #4 of 5

Thanks so much - you just made my life so much easier!!!

post #5 of 5

This is how you do it on the UNIX side of things.

 

Name the program, chngext. Don't forget to, "chmod +x chngext". Usage, "chngext .JPG .jpg".

 

#!/bin/bash
for f in*.$1

do[-f "$f"]&& mv -v "$f""${f%$1}$2"

done
When I looked up "Ninjas" in Thesaurus.com, it said "Ninja's can't be found" Well played Ninjas, well played.
Reply
When I looked up "Ninjas" in Thesaurus.com, it said "Ninja's can't be found" Well played Ninjas, well played.
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Genius Bar
AppleInsider › Forums › General › Genius Bar › How to Change the File Extension of Multiple Files