diff options
author | lassulus <lass@aidsballs.de> | 2015-08-17 16:16:24 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-08-17 16:16:24 +0200 |
commit | 9218b163f2d8bc965b853ed9fc9e13d15a703456 (patch) | |
tree | 8523cca58c0713ec47719b58ede193bad11004a6 /bin/yout2ogg | |
parent | 323a66775168b6addb3acddaee0a8ff227ea4bd4 (diff) |
make target mutable
Diffstat (limited to 'bin/yout2ogg')
-rwxr-xr-x | bin/yout2ogg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/yout2ogg b/bin/yout2ogg index b6ab9c9..b316099 100755 --- a/bin/yout2ogg +++ b/bin/yout2ogg @@ -1,6 +1,6 @@ #! /bin/sh set -euf -target_folder="./music" +target_folder=${target-./} uri=$1 id=$(echo "$uri" | sed -n 's@^https\?://www\.youtube\.com/watch?v=@@p' | sed 's/#.*$//') |