Skip to content

Instantly share code, notes, and snippets.

@kolunar
Created April 24, 2017 22:55
Show Gist options
  • Save kolunar/84b475ee2f3dd4cd455b477db9d111c2 to your computer and use it in GitHub Desktop.
Save kolunar/84b475ee2f3dd4cd455b477db9d111c2 to your computer and use it in GitHub Desktop.
SSH zip and unzip
zip all files in a dir
======================
zip -r filename.zip foldername/
zip all files in current dir
=============================
zip -r filename.zip *
unzip
=====
unzip filename.zip
ref: http://www.servermom.org/how-to-zip-compress-and-unzip-extract-files/65/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment