uskudnik / amazon-glacier-cmd-interface

Command line interface for Amazon Glacier
MIT License
375 stars 103 forks source link

Error removing archive from vault if archiveId starts with dash #142

Closed kuradakis closed 10 years ago

kuradakis commented 10 years ago

Error removing archive from vault if archiveId starts with dash

glacier-cmd rmarchive 2013-03-23 -9r4i8o0pnp8ZC6Gr8FVPixZsYmQ12qAwV.......

usage: glacier-cmd rmarchive [-h] vault archive glacier-cmd rmarchive: error: too few arguments

When you try to escaping got this error: str: A ArchiveId must be 138 characters long. This ID is 140 characters. Caused by: 1 exception || str: Incorrect length of the ArchiveId string.

thank you

wvmarle commented 10 years ago

Add a space between the -- escape and the archive ID.

On Wed, 2013-09-04 at 06:02 -0700, kuradakis wrote:

glacier-cmd rmarchive 2013-03-23 -9r4i8o0pnp8ZC6Gr8FVPixZsYmQ12qAwV....... usage: glacier-cmd rmarchive [-h] vault archive glacier-cmd rmarchive: error: too few arguments

When you try to escaping got this error: str: A ArchiveId must be 138 characters long. This ID is 140 characters. Caused by: 1 exception || str: Incorrect length of the ArchiveId string.

thank you

— Reply to this email directly or view it on GitHub.

kuradakis commented 10 years ago

Thank you you fixed my problem :D