Skip to content

Instantly share code, notes, and snippets.



Created Aug 23, 2012
What would you like to do?
Shortcut for youtube-dl
# saves the path to this script's directory
dir=` dirname $0 `
# absolutizes the path if necessary
if echo $dir | grep -v ^/ > /dev/null; then
dir=` pwd `/$dir
# runs youtube-dl with script's arguments
youtube-dl -t $*
# version: 2012-08-23-1
# based on Nette Test '' script

This comment has been minimized.

Copy link
Owner Author

@janpecha janpecha commented Nov 13, 2012

Moved to my scripts repository. Go to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment