Wednesday, August 7, 2013

Download file from S3 via HTTP

You need to have s3cmd installed. This command should return all your buckets
s3cmd ls 
First make the file you want to download be public accessible with command setacl
s3cmd setacl --acl-public s3://bucket-name/path-to-file/filname
 Then you can download from this path
http://bucket-name.s3.amazonaws.com/path-to-file/filename
(You can download with many connection in parallel with axel)

Don't forget to set permission back to private with
 s3cmd setacl --acl-private s3://bucket-name/path-to-file/filname
Credit:  a comment in s3tool.org

No comments:

Config number of file descriptors on Linux

Check file descriptor limit for a process. Vary depending on owner of the process $ cat /proc/{process-id}/limits Check current number of...