Get disk identifier, use: diskutil info "DISKNAME" | grep "Device Node" Then erase disk using: diskutil eraseDisk FILESYSTEM DISKNAME DISKIDENTIFIER
Where FILESYSTEM is JHFS+ (Journalled), HFS+, FAT32 DISKNAME is the name to be given to the disk DISKIDENTIFIER is the ID returned above (eg /dev/disk6s2)
I usually write a blog post about once a week. The latest post can be viewed here: Are We the Baddies?: Maybe you should ask yourself: are we the baddies? (posted 2025-11-24 at 17:01:10). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2025-11-06 Democracy v Bureaucracy: It's not left versus right which I am complaining about: it is bureaucracy versus democracy!.