how to zip any folder through terminal code example Example: zip folder terminal zip -r mynewfilename.zip foldertozip/