bootable-usb-for-windows.sh 220 B

1234567891011
  1. #!/usr/bin/env bash
  2. set -euo pipefail # bash strict mode
  3. display_help(){
  4. echo "Usage: ${0##*/} [iso] [/dev/sdX]"
  5. exit 2
  6. }
  7. [[ $# -ne 2 ]] && display_help
  8. sudo woeusb --target--filesystem NTFS --device "$1" "$2"