Skip to content

Latest commit

 

History

History
12 lines (9 loc) · 330 Bytes

File metadata and controls

12 lines (9 loc) · 330 Bytes

dd

Copy an image to an sd card:

dd bs=4M if=2018-11-13-raspbian-stretch.img of=/dev/sdX status=progress conv=fsync

Exfiltrate the contents of an image via SSH to another machine, compressing (-C) the content.

dd if=/dev/rdisk0s1s2s bs=65536 conv=noerror,sync | ssh -C user@<IP> "cat >/tmp/image.dd"