Category: Mac
You can format a USB disk from the command line. Identify the disk to format using the diskutil list
command.
To format using Extended Journaled (JHFS+) format:
diskutil eraseDisk JHFS+ DiskName /dev/DiskId
To format using ExFAT:
diskutil eraseDisk ExFAT DiskName /dev/DiskId