X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=scripts.git;a=blobdiff_plain;f=bashrc;h=6310a94c1b302f2ac5a18fa18657d8178dd07770;hp=86a1f88991574bfa25673fb8b50bb6d486ff55ea;hb=d92e2171fecce63b494de47541a13fee4e093331;hpb=0d004c8474701f9b4a622ca041537fd4916ca48b 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