From: Chris Koeritz Date: Mon, 18 Oct 2021 16:21:38 +0000 (-0400) Subject: tasty error checking and better docs in disc tools X-Git-Tag: 2.140.134~4^2~33 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=99d91edb8caa2dba1bf09822c4b3da24df624840;p=feisty_meow.git tasty error checking and better docs in disc tools --- diff --git a/scripts/rip_burn/blu_burn.sh b/scripts/rip_burn/blu_burn.sh index 33317c0e..f862798d 100644 --- a/scripts/rip_burn/blu_burn.sh +++ b/scripts/rip_burn/blu_burn.sh @@ -1,6 +1,8 @@ #!/bin/bash -# burns a bluray disc image onto a physical medium. +# burns a bluray or dvd data disc image onto a physical medium. + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" function show_usage() { @@ -35,3 +37,5 @@ growisofs -dvd-compat -Z ${device_name}=${iso_name} #used to be appended to above line: -speed=2 #trying with letting it go default speed. has been working for us recently. +exit_on_error growing ISO FS from image ${iso_name} + diff --git a/scripts/rip_burn/blu_image.sh b/scripts/rip_burn/blu_image.sh index e4d27536..04212e54 100644 --- a/scripts/rip_burn/blu_image.sh +++ b/scripts/rip_burn/blu_image.sh @@ -1,5 +1,9 @@ #!/bin/bash +# make a dvd data disc image suitable for burning on bluray. + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" + function show_usage() { echo "This script needs two parameters, (1) an ISO file to create, and" @@ -29,3 +33,5 @@ fi genisoimage -r -J -joliet-long -o "$iso_name" "$folder_name" +exit_on_error generating ISO image from folder ${folder_name} + diff --git a/scripts/rip_burn/checker_report.sh b/scripts/rip_burn/checker_report.sh index 34d844ca..270a0620 100644 --- a/scripts/rip_burn/checker_report.sh +++ b/scripts/rip_burn/checker_report.sh @@ -32,4 +32,3 @@ done <"$temp_file_list" rm "$temp_file_list" - diff --git a/scripts/rip_burn/dvd_image.sh b/scripts/rip_burn/dvd_image.sh index 67c2d54a..791d7cba 100644 --- a/scripts/rip_burn/dvd_image.sh +++ b/scripts/rip_burn/dvd_image.sh @@ -1,5 +1,10 @@ #!/bin/bash +# makes a playable dvd movie disc image from a folder. +# the folder has to contain a ripped and decrypted DVD. + +source "$FEISTY_MEOW_SCRIPTS/core/launch_feisty_meow.sh" + function show_usage() { echo "This script needs two parameters, (1) an ISO file to create, and" @@ -30,4 +35,5 @@ fi mkisofs -dvd-video -o "$iso_name" "$folder_name" +exit_on_error making ISO filesystem from folder ${folder_name}