From: Francois Fleuret Date: Fri, 3 Jan 2014 09:51:12 +0000 (+0100) Subject: Added another ISO file format check in the burn command. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=d92e2171fecce63b494de47541a13fee4e093331;p=scripts.git Added another ISO file format check in the burn command. --- diff --git a/bashrc b/bashrc index 86a1f88..6310a94 100644 --- a/bashrc +++ b/bashrc @@ -554,7 +554,7 @@ function burn () { if [[ ! "$1" ]]; then echo "burn " >&2 elif [[ -f "$1" ]]; then - if [[ $(file "$1" | grep "ISO 9660") ]]; then + if [[ $(file "$1" | grep "ISO 9660") ]] || [[ $(file "$1" | grep "UDF filesystem data") ]]; then wodim -eject -v dev=${DEVICE} "$1" else echo "Unknown type of $1" >&2