8

When I try to rename a file (by pressing enter, then changing the extension of the file), it pops up with an alert asking "Are you sure you want to change the extensions ... " and the old extension is selected in blue. I haven't found a keyboard shortcut for selecting the new extension from the popup alert. Is there a way? I need to rename dozens of files, and doing it all through the keyboard would be so much quicker than selecting this one alert with a mouse.

1

5 Answers 5

5

You can disable the prompt under Finder's Preferences (see picture below):

enter image description here

This might save you some time if you are renaming multiple files. Additionally, you may want to look at Rename. It is a free utility that should serve you well for such simple batch renaming.

3

After trial-and-error, figured it out. It's +U.

1

Those buttons highlighted in blue (e.g in your case "keep old") press enter; for those button with a blue background (e.g in your case "Use ...") press space bar.

Extension Text Box

2
  • 1
    Make sure that you have full keyboard access set to "All Controls" - ctrl + F7 toggles this feature Sep 23, 2011 at 9:08
  • I kept Tabbing to the correct button then pressing Enter to select, but it would select the initial button. Great tip about Space Bar, and this is the true answer to this question.
    – pkamb
    Apr 3, 2020 at 8:57
1

There is no keyboard equivelant that I am aware of...

You could however use the terminal to make your life a little easier. If you need to rename the files one at a time, use the command

mv orig_file_name.ext new_file_name.newext
2
  • I discovered Cmd-U works for accepting the file extension change.
    – Z S
    Sep 23, 2011 at 8:50
  • Nice! I will have to try that. Sep 28, 2011 at 19:04
-2

In Mountain Lion, + A works like a charm

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .