how to convert a folder into zip file in linux code example Example: linux zip a directory zip -r filename.zip /path/to/folder1