Skip to content

Instantly share code, notes, and snippets.

@lincank
Created October 15, 2012 07:11
Show Gist options
  • Save lincank/3891157 to your computer and use it in GitHub Desktop.
Save lincank/3891157 to your computer and use it in GitHub Desktop.
Format a volume via terminal on Mac
# find out which partition to format
diskutil list
# format disk1s1 to FAT32 file system with label "ADATA"
diskutil eraseVolume "FAT32" ADATA disk1s1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment