Skip to content

Instantly share code, notes, and snippets.

@brianlamb
Created January 15, 2021 01:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brianlamb/06d7371da005f4e2a4794984f3a62fbd to your computer and use it in GitHub Desktop.
Save brianlamb/06d7371da005f4e2a4794984f3a62fbd to your computer and use it in GitHub Desktop.
brew ddrescue
diskutil unmount[|unmountDisk] /dev/<dvd drive disk>
ddrescue -n -b2048 /dev/<dvd drive disk> diskimagename.[iso|disk] mapfile
ddrescue -d -r1 -b2048 /dev/cdrom cdimage mapfile
brew -- dvdbackup
$ cd /dir/where/you/save/the/dvd
[OS X]
$ diskutil unmount /dev/diskXX
# insert DVD to be copied
$ dvdbackup -M -i /dev/diskXX --progress
$ genisoimage -dvd-video -udf -o movie.iso /dir/where/you/save/the/dvd
$ eject /dev/dvd
# now insert a blank DVD
$ growisofs -Z /dev/dvd=movie.iso
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment