Software Recursive S3 Bucket Downloader

Software Recursive S3 Bucket Downloader

notagh0st

User
0
LEVEL RANK
User ID
28962
Sep 9, 2023
15
38
#CR
34
  • Thread starter
  • Thread Author
  • #1
New to the forum, and thought I should contribute something that I recently wrote for myself. It's a simple NodeJS script that takes an open S3 URL, and recursively loops through all directories, finding and downloading files.

Requirements: NodeJS and two dependencies, installed via:
HTML:
npm i axios xml2js

Usage:

HTML:
node s3-download.js https://somebucketname.s3.amazonaws.com

Code for s3-download.js:

 
Back
Top Bottom