create a zip in a specific folder zip4jç code example
Example 1: zip folder terminal
zip -r mynewfilename.zip foldertozip/
Example 2: zip destination folder
zip -r /path/to/destination.zip /files
zip -r mynewfilename.zip foldertozip/
zip -r /path/to/destination.zip /files