zip file containing folder pentaho code example
Example 1: zip folder terminal
zip -r mynewfilename.zip foldertozip/
Example 2: python zip folder
import shutil
shutil.make_archive(output_filename, 'zip', dir_name)
zip -r mynewfilename.zip foldertozip/
import shutil
shutil.make_archive(output_filename, 'zip', dir_name)