From 05c5b0ef5ed9788da072c0738bd14548037ccea1 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 18 Apr 2018 15:55:08 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- odin/strm/cleanup_youtube | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/odin/strm/cleanup_youtube b/odin/strm/cleanup_youtube index 8b138744..02a5b327 100644 --- a/odin/strm/cleanup_youtube +++ b/odin/strm/cleanup_youtube @@ -19,7 +19,8 @@ function cleanup { urldecode() { local x="${$(cat)//+/ }"; echo -e "${x//\%/\\x}" } -@rollingdirectory@/bin/rolling-directory /srv/media/youtube 50Gi +dir=/srv/media/youtube +@rollingdirectory@/bin/rolling-directory ${dir} 50Gi notmuch search --output=messages --format=text 'is:cached' | \ while read id; do -- cgit v1.2.3