Script to queue multiple ISO files for unattentive burning.

A couple of quick scripts for easily burning all ISO files:

~/bin/burn:

#!/bin/bash
SPEED=8
echo ----------------
ls -l "$1"
echo Burning $1 at $SPEED x
say Insert new disc now!
hdiutil burn -speed $SPEED -forceclose -noaddpmap "$1"
echo Complete.
say Disc burning complete!
say Label. $1
ls -l "$1"
echo ----------------

~/bin/burnall:

#!/bin/bash
find -P . -mindepth 1 -type f -iregex '.*.ISO' -exec burn {} ;

Run burnall to quickly burn all ISO (case-insensitive) files in a directory and any subdirectories. When a disc is done, it will be ejected and you will be alerted with the ’say’ command to retrieve your disc and replace it with a new one, which will continue the burning process. No hunting ISO files down.

If you use MythTV, you could use easily use mythosd to alert your myth frontends that burning is complete.

Leave a Reply

You must be logged in to post a comment.