zip -r target.zip target/ #target/ do not put "*", otherwise it will exclude hidden files,like: zip -r target.zip target/* #wrong if expect include all