Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Disable warning when changing file extensions in Finder System
You know how when you want to change a file extension in the Finder, you get a warning asking if you're sure you want to change the extension? In most cases, if you are changing the extension, you are doing so because you want to, and you know the consequences.

You can disable this warning. Run the following command in Terminal:
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
Then relaunch the Finder, either by Option-clicking on the Finder's icon in the Dock and choosing Relaunch Finder, or by running this in Terminal:
killall Finder
(I found this when browsing through the long list of defaults commands that we recently published as a hint. But when googling it, I noticed that OSXDaily had recently published. So a shout out to them.)
    •    
  • Currently 3.00 / 5
  You rated: 2 / 5 (9 votes cast)
 
[6,362 views]  

Disable warning when changing file extensions in Finder | 5 comments | Create New Account
Click here to return to the 'Disable warning when changing file extensions in Finder' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Disable warning when changing file extensions in Finder
Authored by: arcticmac on Apr 24, '12 07:38:03AM

Or you could just do this in the Finder's preferences dialog. It's been one of the first things I do on new Mac OS installs for the last 5 years.



[ Reply to This | # ]
Disable warning when changing file extensions in Finder
Authored by: lemac on Apr 24, '12 07:54:13AM

Yes, here is a simple way to do the same thing:

Finder Preferences

Advanced

check/uncheck: Show warning before changing an extension



[ Reply to This | # ]
Disable warning when changing file extensions in Finder
Authored by: r-spx on Apr 24, '12 08:23:59AM

Kirk, lots of the "defaults write" tweaks listed at the site you mention (https://github.com/mathiasbynens/dotfiles/blob/master/.osx) can be changed in the standard way using a program's Preferences panel, or System Preferences.

Nearly all the others have already been listed on this site.

I assume the site lists these "defaults write" strings more to help any programmers who might need to change settings within their software or scripts, or perhaps just out of a desire for completeness.

But if you plan to lift any more, it's probably best to check to see if they can't easily be toggled elsewhere :-)



[ Reply to This | # ]
Disable warning when changing file extensions in Finder
Authored by: kirkmc on Apr 24, '12 08:30:05AM

Yea, my bad. I honestly had either never noticed the option in the Finder preferences, or had totally forgotten about it.

Good thing you are all here to keep he honest. :-)

---
Mac OS X Hints editor - Macworld senior contributor
http://www.mcelhearn.com



[ Reply to This | # ]
Disable warning when changing file extensions in Finder
Authored by: BiL Castine on Apr 25, '12 07:57:12AM
WRT the "long list of defaults commands": it's pretty obvious from looking at the list that it's perfectly suited (perhaps even intended) to be run as a well commented shell script, allowing one to set a whole bunch of settings without having to mouse around through a GUI at all. Quite a boon for anyone who sets up a new computer and wants to configure a lot of settings with the least amount of effort.

I'm glad that Apple provided two ways to change preferences in the OS: GUI and Terminal. One makes it (relatively) obvious and one makes it easy to script.

[ Reply to This | # ]