Skip to content

A bash-based CLI tool that allows users to quickly upload files to a specified cloud storage solution

Notifications You must be signed in to change notification settings

a-d14/aws-clouduploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

CloudUploader

CloudUploader is a CLI tool that allows you to upload a file from your local system to an S3 bucket with one simple command.

Installation and Setup

Before you download this you need a have an AWS account and need to set up the IAM Identity Center and S3. Follow this link for instructions - https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

Next, define two environment variables namely,

AWS_PROFILE # this variable contains the AWS profile name you will use to login
AWS_DEFAULT_PATH # in case no target directory is mentioned, the file will be copied to this folder

Depending on what shell you are using, you will have to define these variables in different files. Find out which using this command:

ps -p $$ 

Usage

cd into the clouduploader folder, and run the following command:

./script <source_path> <destination_path>

The destination path should be of the following format - s3://<bucket-name>/<directory-name>

About

A bash-based CLI tool that allows users to quickly upload files to a specified cloud storage solution

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages