Skip to content

Instantly share code, notes, and snippets.

@pce
Created March 3, 2020 13:40
Show Gist options
  • Save pce/1472d5ba8c6e0a20b153259e88437304 to your computer and use it in GitHub Desktop.
Save pce/1472d5ba8c6e0a20b153259e88437304 to your computer and use it in GitHub Desktop.
#/bin/bash
cd ~/Music
# youtube-dl -f bestaudio --extract-audio --embed-thumbnail --add-metadata $1 || youtube-dl -f bestaudio --extract-audio --add-metadata $1
youtube-dl -f bestaudio --extract-audio --embed-thumbnail --audio-format mp3 --audio-quality 0 $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment