Here's that script I wrote about earlier. It needs youtube-dl and ffmpeg. cut here. #!/usr/bin/env bash # file: ypl.sh - download youtube playlist and clean filenames playlist="" youtube-dl -o '%(title)s.%(ext)s' -x --restrict-filenames --audio-format mp3 --prefer-ffmpeg -a $playlist