I am looking to use
glacier command line tool to upload data to AWS Glacier. I'd like to monitor the progress of my upload.
Normally I use
pv to monitor progress. I've perused the code of the
glacier tool to see whether it reads data from standard input, but
glacier is just a script around the
boto library and it's not immediately discernable without digging further how data is opened. Either way, I doubt standard input is used. I suspect
argv is used with a Python
with block—the normal way to open and read a file with Python—and therefore piping data to the script from
pv is a non-starter.
Does anyone have any thoughts on how I could watch the transfer rate and and progress using