TIL. This is an interesting capability of the command line. Have any more fun ones? (at least fun to a CL noob)
#!/usr/bin/env bash
echo "Downloading mp3 from $1"
yt-dlp -x --audio-format mp3 "$1"
You'll need to install https://github.com/yt-dlp/yt-dlp#installation before you can use that. As you can see, the "script" is just so to add a options `-x` (extract audio) and `--audio-format mp3` to convert to mp3 in the end.https://git.herrbischoff.com/awesome-macos-command-line/abou...