Skip to content

Changing file extension warning

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

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

Set to true (default value)

Display a warning when changing a file extension in the Finder

bash
defaults write com.apple.finder "FXEnableExtensionChangeWarning" -bool "true" && killall Finder

Set to false

Do not display the warning

bash
defaults write com.apple.finder "FXEnableExtensionChangeWarning" -bool "false" && killall Finder

Read current value

bash
defaults read com.apple.finder "FXEnableExtensionChangeWarning"

Reset to default value

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