Blame | Last modification | View Log | RSS feed
#!/bin/bash### Check param1 (directory name) for emptiness ###if [ -z "$1" ]thenecho "Please pass the name of the directory to dvd-ize";exit;elsecd "$1"mkdir AUDIO_TS VIDEO_TSmv *.{IFO,ifo,BUP,bup,VOB,vob} VIDEO_TScd ..if [ -z "$2" ]thenecho "Using default Volume Label";VOL_LABEL="DVDVOLUME";elseVOL_LABEL="$2"fiecho use "mkisofs -dvd-video -udf -o -V "$VOL_LABEL" ${1}.iso ${1}"fi