Created
May 23, 2011 02:50
-
-
Save nicerobot/986131 to your computer and use it in GitHub Desktop.
Create a Time Machine sparse bundle
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
hdiutil create \ | |
-size 200G \ | |
-fs HFS+J \ | |
-volname "Time Machine" \ | |
${HOSTNAME%%.*}_$(/sbin/ifconfig en0 | grep ether | awk '{print $2}' | tr -d ':').sparsebundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment