0.1.11 • Published 5 years ago

s3-bulk-downloader v0.1.11

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

s3-bulk-downloader

For download tons of log files stored in your S3 Buckets.


Install

$ npm install s3-bulk-downloader

How to use (for example)

import { Downloader } from 's3-bulk-downloader';

const [, , bucket, prefix, regexp] = process.argv;
const downloader = new Downloader({ profileName: 'foo' });
downloader.download({ bucket, prefix, regexp })
  .then(result => {
    console.log(result.downloaded); // array of downloaded filepaths.
    console.log(result.merged); // filepath merged all downloaded files.  
  });

then

$ node index.js <Bucket name *1> <Prefix *2> <regular-expression string *3>

  • *1 ... full Bucket name.
  • *2 ... Prefix of Key name.
  • *3 ... regular-expression string for filtering.
0.1.11

5 years ago

0.1.10

6 years ago

0.1.9

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago