russellballestrini/s3p

Feature request: support directory uploads and promotes with version

Closed this issue · 1 comments

or unzipping tarball into S3 with version

http://stackoverflow.com/questions/22961540/unzip-file-on-ec2-and-save-it-on-s3#comment44758942_22964180

for subfile in zipf.namelist(): 
    k = Key(bucket) k.key = PUBLIC_PREFIX+subfile k.set_contents_from_string(zipf.read(subfile))

naw, I'm just going to suggest using s3cmd or aws s3 sync or boto_rysnc for this behavior.