Unzip -c is a thing, and it's good (as long as you use -q too)
I just fetched a Raspian disk image via bitorrent. It is a .zip instead of the .gz I would have chosen myself. If you have a .zip and you don’t want to do a temporary uncompress of it to get the .img to use with dd, you can use “unzip -q -c foo.zip” to get the contents of the zip file sprayed onto stdout. Then you can pipe it into dd. ...