Skip to content

Instantly share code, notes, and snippets.

@scattershot-code
Created July 25, 2020 09:55
Show Gist options
  • Save scattershot-code/67df59d9ae3a67709bfbd1c638b13b8f to your computer and use it in GitHub Desktop.
Save scattershot-code/67df59d9ae3a67709bfbd1c638b13b8f to your computer and use it in GitHub Desktop.
Command line USB format OSX
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