A dd solution is provided:
unzip -p 2015-11-21-raspbian-jessie.zip 2015-11-21-raspbian-jessie.img | dd of=/dev/sdb bs=1M
however dd is contra-indicated with the availability of cat. I would like to constrain the question to answers that do not use ddsolutions. Solutions engaging cat (good) or pv(better) to write to the SD card are preferred over dd.
An image of an SD card was successfully copied to sdcard.image with the cat command and burned to a second SD card:
sudo sh -c 'pv /dev/disk2 >sdcard.image'
/dev/disk2 is the SD card
The SD card image is 32GB and was zipped to an 8GB file: sdcard.image.zip. From the command line, how does one unzip and burn the file? Assume there is not enough space to unzip the image to the Macbook's SSD.
The goal is to avoid writing the 32GB file to the laptop's SSD and burn the compressed image directly to the SD card.