bash command to zip all the files in directory code example Example: convert all files and folders in current directory into zip in linux zip -r myfiles.zip mydir