2010
11.25
11.25
Prevent .DS_Store file creation on network stores
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Enable Remote Disc for MacBook Pro
defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true defaults write com.apple.NetworkBrowser ODSSupported -bool true
Flush DNS Cache
dscacheutil -flushcache
Set hostname and prevent the DHCP server to change your host name
scutil --set HostName
Hide the file/folder from GUI Finder
chflags hiddenchflags nohidden
Remove file attributes for Finder
xattr -lxattr -d com.apple.FinderInfo
Clean Up Finder’s “Open With” Menu
# Go to your Home/Library/Preferences folder
# Find “com.apple.LaunchServices” file and trash it (you can back it up if you want)
# Test it out!
lifehacker
