3 # make a dvd data disc image suitable for burning on bluray.
5 source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh"
9 echo "This script needs two parameters, (1) an ISO file to create, and"
10 echo "(2) a folder to use as the blu-ray data for the ISO. For example,"
11 echo " $(basename $0) ~/grunge.iso ~/dvdimages/grungebandpro"
15 folder_name="$1"; shift
17 if [ -z "$iso_name" -o -z "$folder_name" ]; then
22 if [ -f "$iso_name" ]; then
23 echo -e "The ISO file must not already exist.\n"
28 if [ ! -d "$folder_name" ]; then
29 echo -e "The provided folder name must exist.\n"
34 genisoimage -r -J -joliet-long -o "$iso_name" "$folder_name"
36 exit_on_error generating ISO image from folder ${folder_name}