You can identify your pen drive by the following: You will find a list of disks in the example above, you can see that my USB key is the external drive located on disk 2. Make sure that you have inserted a USB drive before continuing. The first thing we will want to do is to identify the computer drive linked to your USB key. How to format a USB drive on MacĪccess the Terminal by doing a spotlight search for “Terminal.” Just as with the Disk Utility method, macOS Mojave offers a simple, efficient formatting procedure through the use of its command line. Its use allows you to execute commands that provide the same result without having to rely on software applications. Even though using the Disk Utility tool to format your USB drive on Mac is a straightforward procedure, sometimes you might want to use the Terminal. This article explains how to format a USB drive on Mac using the command-line.