Assuming you have file extensions shown in the OS X Finder, attempting to change a file extension causes a warning dialog with a confirmation box to appear. This is annoying if you know what you’re doing and you have a compelling reason to change extensions, so let’s turn it off using the command line and defaults write.
First, open the Terminal, located within the /Applications/Utilities/ directory, then copy and paste in the following command:
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
Follow that up by relaunching the Finder with killall:
killall Finder
To reverse the change and get the warning back when you attempt to change file extensions, use the following defaults write command:
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool true
Kill the Finder again for changes to take effect.
转自:http://osxdaily.com/2012/04/11/disable-the-file-extension-change-warning-in-mac-os-x/
分享到:
相关推荐
Viewer ActiveX SDK is a fully featured, ready to incorporate facsimile of the End User PDF-XChange Viewer, again embedded within a Window of the application, the developer is able to hide and disable ...
在Mac OS系统中,为了优化性能和节省存储空间,用户可能会选择禁用sleep image功能。Sleep Image是Mac OS系统在进入睡眠模式时保存的一种内存镜像文件,它用于记录当前系统的运行状态,以便在唤醒系统时能快速恢复到...
- Minor change to the serial port test where, if "Disable RTS/CTS and DSR/DTR test phase" was selected the DTR and RTS lines would be explicitly disabled to prevent any toggling of these lines. ...
其中,模仿Mac OS X Lion系统的滚动条就是一个常见的需求,因为其平滑、直观的设计深受用户喜爱。jQuery nanoScroller.js插件就是专为此目的设计的,它提供了一种简单的方式来实现与Mac OS X Lion系统类似的滚动条...
Disable Battery Warnings A simple Xposed module to disable the annoying low battery warning popup and sound.
标题"Disable the Return Key in a TextBox"正是讨论如何实现这一功能。 在Windows Forms环境下,TextBox控件通常会响应回车键,将焦点转移到下一个控件或执行与回车关联的事件。若要禁用这个功能,我们需要编写...
6. **Startup in Safe Boot mode and temporarily disable login items and non-essential kernel extension files (Mac OSX 10.2 and later)**:在Mac OS X 10.2及更高版本中,按下`Shift`键启动,可以进入安全启动...
### xchange 命令行管理程序快速参考 #### 标题解读 标题“xchange 命令行管理程序快速参考”明确指出本文档旨在为用户提供Microsoft Exchange Server 2007中命令行管理工具的基本操作指南。通过这份快速参考文档,...
在提供的文件列表中,`002_Oculus取消警告信息(Disable Health and Safety Warning).png`可能是展示的注册表编辑器中的相关设置截图,而`001_Oculus取消警告信息(Disable Health and Safety Warning).reg`则可能是一...
对于开发者而言,能够在Windows或Linux主机上安装和运行Mac OS X系统,特别是为了测试或开发iOS应用,具有很高的实用性。 首先,值得注意的是,OS X 10.14.5 Mojave版本可以安装Xcode,因为Xcode要求的最低版本是...
SHELL Enable/disable the shell extension. OPEN Open a Virtual Floppy image. CLOSE Close a Virtual Floppy image. SAVE Save the current image into a file. PROTECT Enable/disable drive write protect...
enable and disable "HOME" button in android 4.0.3 above the version 4.0.3,we should modify the frameworks detail is described in the Enable_Disable_Home.rar
In addition to the default Bochs method using the CTRL key and the middle mouse button there are now the choices: - CTRL+F10 (like DOSBox) - CTRL+ALT (like QEMU) - F12 (replaces win32 'legacyF12'...
- **Startup in Safe Boot mode and temporarily disable login items and non-essential kernel extension files (Mac OS X 10.2 and later)**:启动时按 `Shift`,在 Mac OS X 10.2 及以后版本中,此操作会以安全...
WARNING: AnonTLS is not supported on Android 6, so to use Vino, the built-in VNC server for GNOME you have to disable Vino encryption requirement with "gsettings set org.gnome.Vino require-encryption ...
-nographic disable graphical output and redirect serial I/Os to console -no-frame open SDL window without a frame and window decorations -alt-grab use Ctrl-Alt-Shift to grab mouse (instead of Ctrl-Alt...
A favorite method among power users is the Quick Open in the File menu. The benefit of the quick open dialog is that it loads up very... Vertical & Horizontal Split Window This is a convenient ...
Android Bluetooth Simulator ... is to change the import from android.bluetooth to dk.itu.android.bluetooth (and also add the INTERNET permission in the android manifest file). There is a sligh
*Fix paint problem in Trackbar when skin file change. News in 3.33 2005.8.29 *Fix problem in TcxDBCheckbox. News in 3.32 2005.8.25 *Add close button on TPageControl. News in 3.31 *fix problem when ...
Paw-3.14 Mac破解版 如果打开报错,请执行命令 OS X 10.12 版本请使用下面命令行开启: sudo spctl --master-disable