Created
July 27, 2018 08:14
-
-
Save devdoomari3/5f25b8f5842878e05ef553eeaf374d69 to your computer and use it in GitHub Desktop.
add youtube-dl playlist-index on zsh
This file contains hidden or 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
# usage: youtube-dl-playlist <youtube-playlist-url> | |
function youtube-dl-playlist() { | |
youtube-dl -o "%(playlist_index)s-%(title)s.%(ext)s" $1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment