Skip to content

Instantly share code, notes, and snippets.

@drewreece
Last active March 8, 2020 22:21
Show Gist options
  • Save drewreece/4f67dac58990cb095cf82030dadaf4c6 to your computer and use it in GitHub Desktop.
Save drewreece/4f67dac58990cb095cf82030dadaf4c6 to your computer and use it in GitHub Desktop.
dvd recovery with ddrescue
#Run against the device
ddrescue -r 1 -b 2048 /dev/diskN diskname.iso diskname.log
#test the iso, if its borked try
#Re-run against the raw device
ddrescue -b 2048 /dev/rdiskN diskname.iso diskname.log
#SEE
#http://ask.metafilter.com/68265/But-its-just-a-little-scratch
#http://www.gentoo-wiki.info/HOWTO_Backup_a_DVD
#Automated …?
##!/bin/bash
#N=6
#diskname="hexedfiles"
#ddrescue -r 1 -b 2048 /dev/disk${N} ${diskname}.iso ${diskname}.log
#ddrescue -b 2048 /dev/rdisk${N} ${diskname}.iso ${diskname}.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment