Socket
Socket
Sign inDemoInstall

cli-upload-folder

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-upload-folder

CLI to upload folder or files to a bucket on S3


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

CLI Upload Folder

This CLI was made to upload local files and folders to AWS S3

Why this was made?

This CLI was made to help people to make backup of your data, including files and folders

How use?

You need in your environment variable:

  • ACCESS_KEY_ID
  • SECRET_ACCESS_KEY
  • BUCKET
    • Name of bucket where you want to store the files
  • STORAGE_CLASS
    • The name of Storage Class available in AWS S3
    • Available Values: STANDARD, REDUCED_REDUNDANCY, STANDARD_IA, ONEZONE_IA, INTELLIGENT_TIERING, GLACIER, DEEP_ARCHIVE, OUTPOSTS, GLACIER_IR, SNOW

After this, you can use the command:

$ cli-upload-folder --path-local ./Documents --path-upload ./Documents-Ramon

Flags availables

{
    "Flags": {
        "--path-local": {
            "required": true,
            "description": "This flag receive the local path on you machine to get the files and folders",
            "example": "cli-upload-folder --path-local ./Images/Images-Family",
        },
        "--path-upload": {
            "required": false,
            "description": "This flag receive the name of directory to upload on AWS S3",
            "example": "cli-upload-folder --path-local ./Documents --path-upload ./Name-Of-Directory-To-Store-On-S3"
        },
    }
}

What technologies this project use?

  • NodeJs >= 14.17
  • NPM/Yarn
  • TypeScript
  • AWS
  • Yargs

How to help the project?

Simple, only open an issue and open a PR :)

Keywords

FAQs

Package last updated on 13 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc