Skip to content

NodeJS functions to copy objects from one bucket to another. Using the new AWS sdk v3

License

Notifications You must be signed in to change notification settings

musoto96/nodejs-s3cp

Repository files navigation

S3cp

Description

The script will copy an entire bucket contents to another bucket.  

If you want to use the Dockerfile copy your .aws to the repository directory.

 

Prerequisites

  1. NodeJs Installed (or Docker)
  2. Have your AWS credentials (key and secret) on your home directory ~/.aws/credentials. For more info visit AWS Shared Credentials file location

 

Getting started.

Install packages

npm install

 

Update .env according to your needs.

The entrypoint is on index.js

node index.js

About

NodeJS functions to copy objects from one bucket to another. Using the new AWS sdk v3

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published