zip -r filename.zip /path/to/folder1
# -r (recursive) option to do the entire directory trees at once
zip -r myfiles.zip mydir
# $ zip -r <output_file> <folder_1> <folder_2> ... <folder_n>
zip -r temp.zip Documents
$ zip -r <output_file> <folder_1> <folder_2> ... <folder_n>