Code Monkey home page Code Monkey logo

s3cp's Introduction

s3cp

Utility to easily upload / download content from S3.

This tool is intended to be used as part of a non-interactive install or deployment of software.

Environment Variables

The environment variables required for s3cp to operate.

Name Required Description
AWS_ACCESS_KEY_ID yes the aws credentials
AWS_SECRET_ACCESS_KEY yes the aws credentials
S3_BUCKET yes the s3 bucket to read/write to
S3_REGION no the region where the bucket is located. defaults to us-west-2
Copy single file to S3

Copy the file, sample.txt, to S3 using the same name.

s3cp sample.txt s3:
Copy single file to S3 with different name

Copy argle.txt to S3, renaming it to bargle.txt in the process.

s3cp argle.txt s3:bargle.txt
Copy multiple files S3

Copies file1, file2, and file3 to S3.

s3cp file1 file2 file3 s3:
Copy single file from S3

Copies file, sample.txt, from S3 to current directory

s3cp s3:sample.txt .
Copies multiple files from S3

Copies file1, file2, file3 from S3 to current directory

s3cp s3:file1 s3:file2 s3:file3 .

s3cp's People

Contributors

savaki avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.