Skip to content

Instantly share code, notes, and snippets.

@olssonm
Created November 19, 2016 09:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save olssonm/a47b862ac219a7646909d2a5ddd3eaf0 to your computer and use it in GitHub Desktop.
Save olssonm/a47b862ac219a7646909d2a5ddd3eaf0 to your computer and use it in GitHub Desktop.
Formatting USB/SD-cards etc. to FAT32 in macOS
// Find the correct disk with diskutil
$ diskutil list
// Erase and format drive where "NAME" is the desired name (in capital letters) and "/dev/disk" is the target disk
$ sudo diskutil eraseDisk FAT32 NAME MBRFormat /dev/disk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment