how to zip all files in a folder in linux code example Example: zip all files command linux zip -r myfiles.zip mydir