- sudo tmutil disablelocal停用 Time Machine
sudo tmutil disable (mac OS 10.13 up) - sudo tmutil enablelocal 啟用 Time Machine
sudo tmutil enable(mac OS 10.13 up) - sudo spctl --master-disable 隱藏任何來源安裝選項
- sudo spctl --master-enable 顯示任何來源安裝選項
- touch ~/.bash_profile; open ~/.bash_profile 啟用文字編輯設定Path
- open /etc/hosts 啟用文字編輯修改hosts
- sudo find . -name ".DS_Store" -depth -exec rm {} \; 搜尋&刪除所有的.DS_Store
- defaults write com.apple.desktopservices DSDontWriteNetworkStores true 禁止DS_Store生成
- defaults delete com.apple.desktopservices DSDontWriteNetworkStores 啟用.DS_Store生成
- defaults write com.apple.finder AppleShowAllFiles TRUE;\killall Finder 顯示隱藏檔案
- defaults write com.apple.finder AppleShowAllFiles FALSE;\killall Finder 取消顯示隱藏檔案
- >sudo launchctl unload -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 取消spotlight index
- sudo mdutil -a -i off 關閉spotlight
- sudo launchctl load -w /System/Library/LaunchDaemons/com.apple.metadata.mds.plist 啟用spotlight index
- sudo mdutil -a -i on 開啟spotlight
2017年9月17日 星期日
Mac Terminal 指令(持續更新)
訂閱:
意見 (Atom)