s3zip zip files and upload to Amazon S3.
Amazon S3 charges for Metadata and API requests. s3zip
aims to reduce them.
For each object that is stored in the S3 Glacier Flexible Retrieval and S3 Glacier Deep Archive storage classes, AWS charge 606D s for 40 KB of additional metadata for each archived object, with 8 KB charged at S3 Standard rates and 32 KB charged at S3 Glacier Flexible Retrieval or S3 Deep Archive rates.
s3zip path/to/config.yaml
s3:
region: us-west-2
bucket: my-bucket
storage_class: DEEP_ARCHIVE # STANDARD | DEEP_ARCHIVE | etc.
targets:
- path: D:\User\Desktop\MyPictures
max_zip_depth: 2 # 0: zip MyPictures folder, 1: zip files under MyPictures/*, 2: zip files under MyPictures/**/*
out_prefix: s3zip # prefix for s3 object key