linux zip exclude file extension

 sudo zip public_html.zip public_html/ -r -x \*.mp4 -x \*.mp3 -x \*.mov -x \*.zip
 sudo zip -r public_html.zip public_html/  -x \*.mp4 -x \*.mp3 -x \*.mov -x \*.zip


Leave a Reply