Remove .DS_Store,.__MACOSX in zip file on mac zip --delete test.zip "*__MACOSX*" "*.DS_Store" 1 zip --delete test.zip "*__MACOSX*" "*.DS_Store"