zip圧縮されたimgを直接SDに展開する

UbuntuでRPiのイメージをSDに書き込みたかった。
UbutntuはGPD Micro PC上で動いていて空き容量がない、そんなとき。

root@upc:~# unzip -p xxx.zip xxx.img | dd of=/dev/sdb bs=1M status=progress

ref:
zip – How to unzip and dd a disk image to an SD Card with a single command? – Unix & Linux Stack Exchange
https://unix.stackexchange.com/questions/226219