My notes for recovering, cataloguing and archiving old backup media
Care and Handling of CDs and DVDs: A Guide for Librarians and Archivists: https://www.clir.org/pubs/reports/pub121/ https://en.wikipedia.org/wiki/CD-R
View drive capabilities: cd-drive
Rip Audio CD's
abcde -V -G -o flac
Rip multi-disc Audio CD's
abcde -V -G -o flac -W 1
abcde -V -G -o flac -W 2
Read scratched audio CDs:
sudo cdda2wav -vall -D /dev/sr0 speed=4 cddb=0 -B
If that doesn't work and your drive supports reading C2 pointers, try:
cdda2wav -vall paraopts=proof,c2check speed=4 cddb=0 -B
This does a lot more than the latest cdparanoia version did. Please read the man page to understand the error reports from libparanoia.
Use Picard to rename and apply metadata tags to wav files
Batch convert wav to flac, preserves metadata and embedded cover photos (Picard will add the cover photo to the wav):
for i in *.wav; do ffmpeg -i "$i" -c:a flac "${i%.*}.flac"; done
I found there were some issues due to unicode metadata and filenames but running the results back through Picard fixes metadata and filenames
https://www.bitsgalore.org/2015/11/13/preserving-optical-media-from-the-command-line
Work on strategies for recovering deteriorated optical media, like the 5 cheap, unreadable CDs that I'd like to recover if possible
Cheap and/or no-name brand CDs aren't detected by drive. These CDs are nearly transparent. Maybe coloring the label side with a sharpie, dark paint, or gluing aluminium foil may help?
These media get imaged and recovery is done on the disk images
fslint czkawka rdfind