Skip to content

Instantly share code, notes, and snippets.

@ttm62
Forked from garethrees/format.sh
Created February 27, 2025 16:57
Show Gist options
  • Select an option

  • Save ttm62/1f02fd5e24f267c9dfc298863f5286a6 to your computer and use it in GitHub Desktop.

Select an option

Save ttm62/1f02fd5e24f267c9dfc298863f5286a6 to your computer and use it in GitHub Desktop.

Revisions

  1. @garethrees garethrees created this gist Apr 28, 2020.
    3 changes: 3 additions & 0 deletions format.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    diskutil list
    diskutil unmountDisk /dev/disk2
    diskutil eraseDisk FAT32 SANDISK /dev/disk2