Created
June 12, 2016 07:11
-
-
Save rightson/1082f7a1850fcd83e3fa82d6eac66860 to your computer and use it in GitHub Desktop.
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 | |
ImageName=CrossToolNG | |
ImageNameExt=${ImageName}.sparseimage | |
#diskutil umount force /Volumes/${ImageName} | |
#rm -f ${ImageNameExt} | |
hdiutil create ${ImageName} -volname ${ImageName} -type SPARSE -size 8g -fs HFSX | |
hdiutil mount ${ImageNameExt} | |
cd /Volumes/$ImageName |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment