Ahmed Metwally Ahmed Metwally - 10 days ago 7
Node.js Question

AWS S3 Node.js SDK: Need to Download all files from one bucket at once

Currently I can iterate over all files in bucket and download one by one,
using node.js sdk.
I need to download all files from S3 bucket at once. then remove it from bucket.

Answer

This higher-level Node S3 library has a downloadDir function which syncs a remote S3 bucket with a local directory.

https://github.com/andrewrk/node-s3-client#clientdownloaddirparams

Comments