Last active
January 10, 2018 13:13
-
-
Save lamlion/56839fd79b6706443b8896a792951e2a to your computer and use it in GitHub Desktop.
Make and extract an image using dd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo dd if=/dev/rdisk1 bs=1m | gzip > ~/Desktop/pi.gz | |
gzip -dc ~/Desktop/pi.gz | sudo dd of=/dev/rdisk1 bs=1m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment