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: Problematic Ideas: Some people will read this and think, what's the problem here? (posted 2025-08-30 at 14:00:03). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2025-08-07 What is Anything?: Use language in an honest way to communicate instead of obfuscating..