linux recursive zip one file type code example Example: zip all files recursively linux zip -r myfiles.zip mydir