convert folder to zip command line code example Example: convert folder to zip command line zip -r {filename.zip} {foldername}