how to zip all the files in a folder in linux code example
Example 1: zip all files command 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