diff options
author | Aleksey Veresov <aleksey@veresov.pro> | 2020-12-06 23:54:57 +0300 |
---|---|---|
committer | Aleksey Veresov <aleksey@veresov.pro> | 2020-12-06 23:54:57 +0300 |
commit | dea08ca16cd843b787d109ef66dda67206183a6a (patch) | |
tree | be3f7935822ec2788d8f778bc91707a589df73de | |
parent | b15961aa8d091844352214bf42b72a3e6b054747 (diff) | |
download | vsvs-dea08ca16cd843b787d109ef66dda67206183a6a.tar vsvs-dea08ca16cd843b787d109ef66dda67206183a6a.tar.xz vsvs-dea08ca16cd843b787d109ef66dda67206183a6a.zip |
.
-rwxr-xr-x[-rw-r--r--] | titles.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/titles.sh b/titles.sh index 80d665a..374094a 100644..100755 --- a/titles.sh +++ b/titles.sh @@ -1,5 +1,6 @@ #!/bin/bash export base="$(pwd)/" export proc=$$ -vsvs-extract 'echo -n "$value" | vsvs-parse 'test "$key" == "title" && echo -n "$value" && exit 0'' data +mkdir -p "$base/proc/$proc" +vsvs-extract $'echo "$value" | vsvs-parse \'test "$key" == "title" && echo "$value"\'' data rm -r "$base/proc/$proc" |