TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Uploading to S3 in 18 lines of Shell

83 pointsby chrismdpabout 10 years ago

6 comments

estefanabout 10 years ago
aws s3 cp src dest...<p>OK curl is installed by default but if you have to install this script anyway, it&#x27;s only a `pip install` away...
评论 #9470593 未加载
评论 #9470997 未加载
评论 #9473322 未加载
mietekabout 10 years ago
If you like this, you may find <i>bashmenot</i> useful. Among other things, it includes GNU <i>bash</i> functions to work with S3.<p>Documentation:<p><a href="https:&#x2F;&#x2F;bashmenot.mietek.io&#x2F;reference" rel="nofollow">https:&#x2F;&#x2F;bashmenot.mietek.io&#x2F;reference</a><p>Source:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mietek&#x2F;bashmenot" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mietek&#x2F;bashmenot</a>
phirealabout 10 years ago
Searching GitHub for S3SECRET and S3KEY might get interesting if this script gets used a lot.
评论 #9470452 未加载
评论 #9470427 未加载
评论 #9471111 未加载
tonyhburnsabout 10 years ago
Here&#x27;s a couple I made as well for upload&#x2F;download to S3 before Travis CI had Docker containers with support for caching in OSS projects: <a href="https:&#x2F;&#x2F;github.com&#x2F;tabolario&#x2F;ci-scripts" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;tabolario&#x2F;ci-scripts</a><p>These use the V4 signature, which I grabbed from an article somewhere on the subject that I can&#x27;t seem to find anymore :( The cached-bundle script is inspired and based off the one from devise: <a href="https:&#x2F;&#x2F;github.com&#x2F;plataformatec&#x2F;devise&#x2F;blob&#x2F;master&#x2F;script&#x2F;cached-bundle" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;plataformatec&#x2F;devise&#x2F;blob&#x2F;master&#x2F;script&#x2F;c...</a>
blackaceabout 10 years ago
There&#x27;s a 2007 bash implementation of s3 commands here too:<p><a href="https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;s3-bash&#x2F;" rel="nofollow">https:&#x2F;&#x2F;code.google.com&#x2F;p&#x2F;s3-bash&#x2F;</a>
评论 #9477289 未加载
jarydabout 10 years ago
Important to note that this uses the public-read ACL by default.