Skip to content

NinePointsVietnam/s3zipfolder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

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

Usage

s3zipfolder <bucket> <prefix> <region>

OR

s3zipfolder <bucket> <prefix> <region> <aws key> <aws secret>

Example

./s3zipfolder bucket-data-test 20200414/ ap-northeast-1
./s3zipfolder bucket-data-test 20200414/ ap-northeast-1 AZZDDDAAAAXXXXXEEE QRsdzhheeza97oadfrraddccaedf3

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages