]> git.phdru.name Git - audio-cdr-video.git/blob - cdr-dvdrw-tools/mk-image
Initail import
[audio-cdr-video.git] / cdr-dvdrw-tools / mk-image
1 #! /bin/sh
2
3 . .config
4
5 [ -f "$cd_image_iso" ] && die "$cd_image_iso found, remove it first"
6 [ -d "$source_dir" ] || die "$source_dir not found, create it first"
7
8
9 if [ -z "$1" ]; then
10    echo -n "Enter CD label: "
11    read label
12 else
13    label="$1"
14 fi
15 shift
16
17
18 exec genisoimage \
19    -allow-leading-dots -allow-lowercase -allow-multidot \
20    -relaxed-filenames -r -J -input-charset koi8-r -joliet-long \
21    -V "$label" -o "$cd_image_iso" "$source_dir"