Last active
January 17, 2017 17:24
-
-
Save gardner/258ca93369b7893fee6e3d141c4a2908 to your computer and use it in GitHub Desktop.
dd backup of system drive from recovery
This file contains hidden or 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
#!/bin/bash | |
/usr/bin/caffeinate -s dd if=/dev/disk0s2 of=backup.img bs=4m | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment