diff --git a/plugins/formatusb/formatusb.plugin.zsh b/plugins/formatusb/formatusb.plugin.zsh new file mode 100644 index 00000000..ad53530d --- /dev/null +++ b/plugins/formatusb/formatusb.plugin.zsh @@ -0,0 +1,288 @@ +# Utility function to format USB Stick/Hard Drive +# It will create a single partition that fills the whole drive space + + + +format2usb-ext2() { + if [ $# -lt 2 ]; then + echo -e "format and create a partition that fills up the whole device" + echo -e "\nUsage: $0