Skip to content

Instantly share code, notes, and snippets.

@jonahb
Created August 18, 2015 23:14
Show Gist options
  • Save jonahb/1605c1e04d19c9acdbf6 to your computer and use it in GitHub Desktop.
Save jonahb/1605c1e04d19c9acdbf6 to your computer and use it in GitHub Desktop.
#!/bin/bash
# find with `diskutil list`
DEVICE=/dev/disk2
NAME=name
sudo port install dvdbackup
sudo port install cdrtools
dvdbackup -i $DEVICE -n $NAME -Mvp
mkdir -p $NAME/AUDIO_TS $NAME/VIDEO_TS
mkisofs -dvd-video -o $NAME.iso $NAME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment