Warning: Formatting a USB drive will erase all data on the drive. Be sure to back up any files you want to keep on the drive before continuing.
If you need to transfer files that are larger than 4 GB, or you have files that have long names, you may want to consider selecting “exFAT” as the format instead. FAT32 does not support large files or long file names. [1] X Research source
Ejecting your USB drive prevents electric discharge that can damage your USB drive upon removing it.
Warning: Formatting a USB drive will erase all data on the drive. Be sure to back up any files you want to keep on the drive before continuing.
sudo: This commands gives grants you root user access. diskutil: This command calls on the Disk Utility program. eraseDisk: This command tells Disk Utility to reformat the drive. FAT32: This command tells Disk Utility to reformat the drive in FAT32 format. You can replace this with “ExFAT” to format it in ExFAT format. MBRFormat: This command tells Disk Utility to format the drive in Master Boot Record partition scheme. [Location]: This command tells Disk Utility the location of the USB drive.