This is small program for zipping a folder in S3 bucket then save result file to same S3 bucket. This program don't download all files to local so we can use it to zip large folder without care about disk full.
The zip file will be saved to same folder of zipping folder. For example, if we zip a folder with prefix /20200414/, the zip file will be /20200414.[timestamp].zip
s3zipfolder <bucket> <prefix> <region>
OR
s3zipfolder <bucket> <prefix> <region> <aws key> <aws secret>
./s3zipfolder bucket-data-test 20200414/ ap-northeast-1
./s3zipfolder bucket-data-test 20200414/ ap-northeast-1 AZZDDDAAAAXXXXXEEE QRsdzhheeza97oadfrraddccaedf3