We could use find + xargs to make it happen. For example, I would like to delete file with file name “.DS_Store” and “._” we could execute the code like below find . -name “.DS_Store” -print0 | xargs -0 rm -rf  find . -name “._*” -print0 | xargs -0 rm -rf

Read More →

MAC 新手玩玩 MAC  XDDDD 1. iterm 加顏色 http://blog.imzaid.com/color-terminal-bash-on-the-mac-iterm-included 2. vim 加顏色 http://philip.pixnet.net/blog/post/14835813-%5Bmac%5Dmac-vi%E8%A8%AD%E5%AE%9A

Read More →