aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-11-19 20:55:22 +0100
committerInigoGutierrez <inigogf.95@gmail.com>2019-11-19 20:55:22 +0100
commit76d2ca339eb49eaaaff9bd6bcd0050f35e855365 (patch)
tree2659ffd465a652fe16ff2257ef2ea753b5fe3aaf
parentc7c6cb5c3ef3c781bb2a92f4c16ac89016e21dad (diff)
downloadscripts-76d2ca339eb49eaaaff9bd6bcd0050f35e855365.tar.gz
scripts-76d2ca339eb49eaaaff9bd6bcd0050f35e855365.zip
youtube-dl.sh now accepts multiple arguments.
-rwxr-xr-xyoutube-dl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube-dl.sh b/youtube-dl.sh
index 627b020..d492c8c 100755
--- a/youtube-dl.sh
+++ b/youtube-dl.sh
@@ -1,2 +1,2 @@
#!/bin/sh
-youtube-dl --add-metadata --all-subs --embed-subs -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$1"
+youtube-dl --add-metadata --all-subs --embed-subs -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$@"