Upload to S3 via shell script without aws-cli, possible?

Question:

As the title says, is it possible to upload to S3 via shell script without aws-cli-tools?

If so, how?

What I’m trying to do is read from a txt file on S3 (which is public, so no authentication is required).

But I want to be able to overwrite whatever is in the file (which is just a number).

Thanks in advance,

Fadi

Answer:

Yes you can! You basically emulate the api calls the SDK would do for you through standard linux cmd utils.

Look at:

https://aws.amazon.com/code/Amazon-S3/943

and/or

http://tmont.com/blargh/2014/1/uploading-to-s3-in-bash

Leave a Reply