Created
July 27, 2022 14:16
-
-
Save rileyjshaw/e4f4cd246544c3724f4f2d78a8a5e2de to your computer and use it in GitHub Desktop.
MacOS: Enter all subdirectories of the current folder and add "00. Title.mp3", which reads the folder name.
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
#!/bin/bash | |
for d in */; do | |
cd "$d" | |
say "$d" -o "00. Title.aiff" | |
lame -m m "00. Title.aiff" "00. Title.mp3" | |
rm "00. Title.aiff" | |
cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment