Mac Tips 1

Prevent .DS_Store file creation on network stores

defaults write DSDontWriteNetworkStores true

Enable Remote Disc for MacBook Pro

defaults write EnableODiskBrowsing -bool true
defaults write 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 hidden 
chflags nohidden 

Remove file attributes for Finder

xattr -l 
xattr -d 

Clean Up Finder’s “Open With” Menu

  • Go to your Home/Library/Preferences folder
  • Find “” file and trash it (you can back it up if you want)
  • Test it out!