Using zip via ssh

$ zip -r drupal.zip html

This zips all files and directories.

  • -r:Includes all files and directories -> Files
  • drupal.zip:The zip file you want to create
  • html:The folder you are targetting or use * if your currently in the folder.