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