Format an external drive from the command line
Open your terminal and find the mount point of your disk :
diskutil list
Then launch the following command :
diskutil eraseDisk HFS+ newdiskname "/dev/your-disk-name"
You are good to go.
Written by Thierry Le Moulec
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Terminal
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#