Mac:常用命令行备忘

User Libiary 的显隐:

chflags nohidden ~/Library/

chflags hidden ~/Library

Finder里面显示隐藏文件

defaults write com.apple.finder AppleShowAllFiles -bool true

统计代码行数,Classses为代码文件夹

grep -d recurse "\n" Classes| wc -l

猜你喜欢

转载自hobo86.iteye.com/blog/1585080