Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

format terminal mac

//find disk identifier using...
diskutil list
//something like /dev/disk1,2,3.... should be your disk identifier
diskutil eraseDisk FILE_SYSTEM DISK_NAME DISK_IDENTIFIER
// example formatting to ExFAT below... 
diskutil eraseDisk ExFAT DiskName /dev/DiskNodeID
 
PREVIOUS NEXT
Tagged: #format #terminal #mac
ADD COMMENT
Topic
Name
8+8 =