Skip to content

Conversation

@gardnert
Copy link

I've updated your script to be slightly more modular and up to date with the latest glacier api.

The main changes being the complete-multipart-upload instead of abort-multipart-upload, and correctly computing the bytesize for the last part.

Also, I've added amazon's example of computing the tree hash which is used in the complete-multipart-upload command for aws cli.

gardnert added 3 commits March 27, 2017 16:13
The script now requires you to pass the name of the whole archive in as an argument
Fixed bytesize being wrong if it was bigger than the final part of the upload
changed abort-multipart-upload to complete-multipart-upload
added treehash computation and inclusion in complete-multipart-upload
store the json response from amazon in result.json
added information on how to use the script with TreeHashExample, and with passing in the name of the full archive when you call the script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants