This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install cdparanoia e.g apt-get install cdparanoia | |
# MacOS | |
# brew install lame | |
# brew install cdparanoia | |
# copy all tracks into separate '.wav' files | |
cdparanoia -B | |
# convert to mp3 in a loop |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#=========================================================================== | |
# Works only with the official image available in the Mac App Store. | |
# Make sure you download the official installer before running this script. | |
#=========================================================================== | |
echo "1/7: create Catalina.cdr" | |
hdiutil create -o Catalina.cdr -size 9000m -layout SPUD -fs HFS+J | |
echo "2/7: mount" | |
hdiutil attach Catalina.cdr.dmg -noverify -mountpoint /Volumes/install_build |