#!/bin/bash [[ -z $2 ]] && echo usage: $0 iso-file device && exit 1 echo writing to $2 -- ready? ctrl-c if not read -r dd if=$1 of=$2 bs=4M conv=fsync status=progress #conv=fdatasync #conv=sync