# Changing file extension warning

Choose whether to display a warning when changing a file extension.

  • Tested on macOS:
    • Big Sur
    • Catalina
    • Mojave
  • Parameter type: bool

# Set to true (default value)

defaults write com.apple.finder FXEnableExtensionChangeWarning -bool true && killall Finder
  • Display a warning when changing a file extension in the Finder

# Set to false

defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false && killall Finder
  • Do not display the warning

# Read current value

defaults read com.apple.finder FXEnableExtensionChangeWarning

# Delete current value

defaults delete com.apple.finder FXEnableExtensionChangeWarning && killall Finder