OS X: Terminal Hints

Create zip file // exclude os files $ zip -r #archive#.zip #directory# // exclude all hidden files $ zip -r #archive#.zip #directory# -x “*/\.*” Show hidden files For MacOS 10.9+ $ defaults write com.apple.finder AppleShowAllFiles FALSE Copy an existing SSH key $ pbcopy < ~/.ssh/id_rsa.pub  

Read More