Desired Effect |
What To Do |
Enable Time Machine on unsupported network volumes |
sudo defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1 |
Enable folder content previews |
defaults write com.apple.finder QLEnableXRayFolders 1 |
Disable WINS registration |
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server RegisterWINSName -bool false |
Mount ISO partition in hybrid discs |
Fool around with hdiutil attach foo.dmg -nomount and /System/Library/Filesystems/cd9660.fs/cd9660.util -m disk3 /Volumes/ISO9660 |
Convert PNG to JPEG and resample |
sips -s format jpeg -Z 510 in.png --out out.jpg |
Take a decent screenshot without a drop shadow |
screencapture -io |
Flush the DNS cache |
dscacheutil -flushcache |
Easily move windows to different Spaces |
Click and hold, then use the keyboard to change workspace |
Invoke Quick Look from a script |
qlmanage -p “$ ” >& /dev/null &@ |
Invoke Software Update via SSH |
sudo softwareupdate -i -a |
Make the menu bar solid |
sudo defaults write /System/Library/LaunchDaemons/com.apple.WindowServer 'EnvironmentVariables' -dict 'CI_NO_BACKGROUND_IMAGE' 0.62 |
Add default SSH key to keychain |
ssh-add -K |