1、隐藏桌面所有文件
defaults write com.apple.finder CreateDesktop -bool FALSE; killall Finder;
2、显示桌面所有文件
defaults write com.apple.finder CreateDesktop -bool TRUE; killall Finder;
桌面文件显示与隐藏
原文:http://lswq-love-221.iteye.com/blog/2233156