Create zip on macos without the hidden directories (for elasticbeanstalk) zip -rX v0.49.4.zip . -x '**/.DS_Store' -x '.DS_Store' unzip -v v0.49.4.zip