format-usb-drive.sh is a bash script that lets you safely (i.e. not erasing your system disk by accident) format a USB flash stick or USB drive from the command line. This script won't let you format your internal disk. FAT32, NTFS, and exFAT are supported.
lopatoid / format-usb-drive Goto Github PK
View Code? Open in Web Editor NEWFormat USB drive from command line