Skip to main content

Aggregate an S3 folder into a file in another

Project description

Makes a tarball (optionally compressed with gzip) of the contents of an S3 prefix (preserving interior paths and filenames), posts the tarball to a stated S3 URL and optionally deletes the source files.

s3clumper: Aggregate S3 prefixes into tarballs in S3

Usage: s3clumper {{arguments}} {{options}}

Arguments:
  from [text]  S3 URL prefix to clump
  to [text]    S3 URL for target clump

Options:
  -h, --help      Show this help message and exit
  -H, --HELP      Help for all sub-commands
  -c, --check     Don't check for target (may over-write)
  -C, --nocolour  Suppress colours in reports
  -D, --debug     Enable debug logging
  -d, --delete    Don't delete source files
  -q, --quiet     Be quiet, be vewy vewy quiet
  -v, --verbose   Verbose output
  -V, --version   Report installed version
  -z, --compress  Don't compress the target

Example:

$ s3clumper s3://bucket1/data/ s3://bucket2/archive/logs-20170302.tar.gz
Fetching |################################| 55/55
Sending |################################| 100/100
Deleting |################################| 55/55

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

s3clumper-0.1.post16.tar.gz (24.1 kB view details)

Uploaded Source

File details

Details for the file s3clumper-0.1.post16.tar.gz.

File metadata

File hashes

Hashes for s3clumper-0.1.post16.tar.gz
Algorithm Hash digest
SHA256 7c830cf653dcfd3a8c149f47080457a5a34f86208a0d2ba917efff068293139f
MD5 9b9e35cafa031a7936941449b272f48a
BLAKE2b-256 92e5d0b4beffad02f739631b3cced0ef06e2c434b2d039bd4c4ecf8a0f31d8b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page