Created
March 7, 2020 19:29
-
-
Save bafflingscience/5ffb67dc9a715103879ffea2fb97dd2f to your computer and use it in GitHub Desktop.
youtube-dl script - alias cmd, save to selected directory in specified format
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
| #! /bin/bash | |
| ytdl() { | |
| cd /Volumes/path/to/saveVideo; /usr/local/bin/youtube-dl -f "mp4" $1 | |
| } | |
| ytdl $1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment