Skip to content

This package will contains the scripts which will help you to upload the any number of files to your S3 bucket.

Notifications You must be signed in to change notification settings

Code-Crash/s3-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

S3 Uploader is a script to upload your large chunk of files on S3 bucket

Features

  1. Upload the bulk files on S3 Bucket.
  2. Upload the exact file structure to the S3.
  3. Upload files in your chosen folder on S3.

Prerequisites

  1. Node.js should be installed
  2. NPM should be installed
  3. You should have an AWS account with the Access key, Secret key and S3 bucket should be already created.
  4. You have a basic idea about scripting in Node.js

How to use it?

  1. Clone the repository.
  2. Open the Terminal and navigate to the cloned repository.
  3. Copy the content of .env.example file into a new file which is .env and update correct details in .env.
  4. Run npm install
  5. Run node scripts/upload.js
  6. Follow the instructions visible to Terminal.
  7. See the Terminal for the logs, or check the logs/error.log or logs/info.log file for logs

TODO:

  1. Provide the URL of each file in logs.
  2. Add a feature to check if the uploaded URL is valid and it's working properly and generate the logs based on that.
  3. Add support to export this script as a node js global module.

About

This package will contains the scripts which will help you to upload the any number of files to your S3 bucket.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published