Closed zg closed 10 years ago
Does your archive ID by chance start with a -
(hyphen) character? If so add the extra switch --
in front of it, as otherwise it's interpreted as a command line switch instead. The --
tells the script that there are no more switches, so a value starting with -
won't be misinterpreted.
No, but I did prepend --
to the beginning of every archive ID that starts with a dash (-
).
I ran through the script again, with the same issue occurring again. What happened this time was that at the 51st job, the program encountered the error I pasted above. Is there some kind of limitation that is established by the program in terms of the number of jobs that it can handle? Or perhaps Amazon Glacier has a limit to the number of jobs that you can have.
Unrelated to the code. This was an issue with ArchLinux AUR package "boto-glacier-git" not using the latest version of boto.
I am having an issue with the
getarchive
function. After putting in 50 jobs, I cannot seem to get around this error:And the command I'm attempting to run: