Created
July 25, 2020 09:55
-
-
Save scattershot-code/67df59d9ae3a67709bfbd1c638b13b8f to your computer and use it in GitHub Desktop.
Command line USB format OSX
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
diskutil list | |
// finds out the location of your USB | |
diskutil eraseDisk JHFS+ BackupMaster disk2 | |
// Here the command diskutil eraseDisk does the erasing, format is expressed as JHFS+ which is the Mac OS Extended (Journaled) and disk is named BackupMaster and the actual target disk is defined by its identifier disk2. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment