zip all files in linux server code example Example: zip all files command linux zip -r myfiles.zip mydir