uskudnik / amazon-glacier-cmd-interface

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

Can't abortmultipart when Upload ID starts with '-' #173

Open alescdb opened 9 years ago

alescdb commented 9 years ago

I had an upload id starting with "-" and when I tried to abort it glacier-cmd take it as an argument. I've tried to backslash it, to put it between " and ', without luck.

shell> glacier-cmd abortmultipart Bacula "-FscRGvYfRHoOcoodWPXPt3oOE6gjqaZHozjz5unXNxiYD9vlagkdD4OtSfBGWaUryr0dWenxh0f739HaUd1wQAo65JR" usage: glacier-cmd abortmultipart [-h] vault uploadId glacier-cmd abortmultipart: error: too few arguments

Gisi0 commented 9 years ago

Hi, you must enter ... Bacula -- -Fsc... or -- "-Fsc..." to abort the part.

dz-cies commented 8 years ago

@Gisi0 This works. But how can I resume the upload? Both glacier-cmd upload ... --uploadid -Fsc... and glacier-cmd upload ... --uploadid -- -Fsc... complain "error: argument --uploadid: expected one argument".