I need to make an image and send it to a remote host. I also want to gzip it since 60% of the image is free space.
Here's what I can do:
sudo dd if=/dev/sdd1 |(ssh me@remote dd of=/home/frank/sdd1.img)
Heres what I want to do:
sudo dd if=/dev/sdd1 | [ somehow make it a gzip file] (ssh me@remote dd of=/home/frank/sdd1.img.gz)