Migrated first 6 gists.

This commit is contained in:
Miguel Astor
2023-01-13 18:18:55 -04:00
parent 92fcabcfba
commit 8af706e97d
16 changed files with 290 additions and 0 deletions

1
rip2iso.sh/README.md Normal file
View File

@@ -0,0 +1 @@
Rips raw data from a CD using the /dev/sr1 device (USB cd writer) to an iso image file.

17
rip2iso.sh/rip2iso.sh Normal file
View File

@@ -0,0 +1,17 @@
#! /bin/bash
# Usage: ./rip2iso.sh ISO_FILE_NAME
# Output: a file named "ISO_FILE_NAME01.iso"
cdrdao read-cd \
--datafile $1.bin \
--driver generic-mmc:0x20000 \
--device /dev/sr1 \
--read-raw \
$1.toc
toc2cue $1.toc $1.cue
bchunk $1.bin $1.cue $1
rm -i $i.bin $i.toc $i.cue