# list all disk
$ diskutil list
/dev/disk0
/dev/disk1
/dev/disk2
...
# format U-disk to FAT32
$ diskutil partitionDisk /dev/disk5 MBR FAT32 UNTITLED 0b
# format to MS-DOS prepare to Windows
$ diskutil eraseDisk MS-DOS "WINDOWS10" MBR disk5
$ cp -rp /Volumes/J_CCSA_X64FRE_ZH-CN_DV5/* /Volumes/WINDOWS10
Created
November 4, 2019 13:19
-
-
Save hustjiangtao/4369bbc7622db8780f2c3f39fa48e848 to your computer and use it in GitHub Desktop.
Format sd card or U disk on MacOS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment