Tips and tricks

How to zip folder without some directories from Terminal

zip a directory without .git and node_modules

you can type this in Terminal

cd TARGET_PATH/
zip -r dzs-wootable.zip ./dzs-wootable -x "**/node_modules/*" "*.git*"

Leave a comment

Your email address will not be published

{"type":"main_options","images_arr":"'#ffffff'","bg_slideshow_time":"0","site_url":"https:\/\/digitalzoomstudio.net","theme_url":"https:\/\/digitalzoomstudio.net\/wp-content\/themes\/qucreative\/","is_customize_preview":"off","gallery_w_thumbs_autoplay_videos":"off","base_url":"https:\/\/digitalzoomstudio.net"}