Script to read txt file and write it to mp3 file >>>> usage >>>> txt2mp3 input.txt >>>> Works only on Macs!
#!/bin/sh aiffm="a.aiff" mp3m="$(basename "$1" ".txt").mp3" say -f "$1" -o "$aiffm" lame --quiet -m m "$aiffm" "$mp3m" rm -rf "$aiffm"