uskudnik/amazon-glacier-cmd-interface — pull request #79 by wvmarle (2012-10-14 17:49:30+00:00)
Title: Upload resumption

Implemented automatic upload resumption.

Now '$ glacier-cmd upload --resume` will check whether there is such an upload in progress (kept in the bookkeeping db) by checking file name and file size to get the uploadid. After that it works the same as if `--uploadid ` were given.

Changed bookkeeping db to use the archiveid (or uploadid) as key, instead of the file name.

Inventory bookkeeping code is wrong; needs to be rewritten. Disabled here.

Added `updatedb` command for people upgrading from previous versions. This updates the db to use the new keys, and purges any items it can not recognise (i.e. no archiveid/uploadid key present).