zip a folder code example
Example 1: create zip file ubuntu
zip -r output_file.zip file1 folder1
Example 2: zip destination folder
zip -r /path/to/destination.zip /files
zip -r output_file.zip file1 folder1
zip -r /path/to/destination.zip /files