zip linux compress code example
Example 1: convert all files and folders in current directory into zip in linux
zip -r myfiles.zip mydir
Example 2: zip entire directory ubuntu
zip -r compressed_filename.zip foldername
zip -r myfiles.zip mydir
zip -r compressed_filename.zip foldername