Skip to content
Erning.write()
Go back

Mac Tips 1

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 hidden 
chflags nohidden 

Remove file attributes for Finder

xattr -l 
xattr -d com.apple.FinderInfo 

Clean Up Finder’s “Open With” Menu

lifehacker


Share this post on:

Previous Post
there was no one left to speak out
Next Post
VIM Tips 1