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.


5 Answers 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.


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


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

  • 1
    Make sure that you have full keyboard access set to "All Controls" - ctrl + F7 toggles this feature Commented 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
    Commented Apr 3, 2020 at 8:57

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
  • I discovered Cmd-U works for accepting the file extension change.
    – Z S
    Commented Sep 23, 2011 at 8:50
  • Nice! I will have to try that. Commented Sep 28, 2011 at 19:04

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 .