【Mac 实用技巧】不定期更新

  • Mac去掉截屏图片边框外阴影效果

  一次命令行:defaults write com.apple.screencapture disable-shadow -bool true;killall SystemUIServer  回车
两次命令行:defaults write com.apple.screencapture disable-shadow -bool true 回车
       killall SystemUIServer 回车
  • mac取消终端换行显示[中括号]

     取消:编辑->标记->自动标记提示行

  •  禁止Mac OS X系统产生.DS_Store文件

1、禁止.DS_store生成:defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE

2、恢复.DS_store生成:defaults delete com.apple.desktopservices DSDontWriteNetworkStores

3、删除当前目录及其子目录下的所有.DS_Store 文件:  find . -name '*.DS_Store' -type f -delete

4、手动逐条删除.DS_Store 文件:sudo find / -name ".DS_Store" -depth -exec rm {} ;

5、手动指定“排序方式”,或者说是禁用“整理”功能:

 源链接:https://www.jianshu.com/p/debaa1cde660

             https://www.jianshu.com/p/f49f6974f647

  • 显示隐藏文件

隐藏文件或文件夹是以点开头的文件名:

Finder中:快捷键⌘⇧.(Command + Shift + .) 来快速(在 Finder 中)显示和隐藏(隐藏文件)。

(未完待续……)

原文地址:https://www.cnblogs.com/hightech/p/12376240.html