diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:55:08 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-18 15:55:08 +0200 |
| commit | 05c5b0ef5ed9788da072c0738bd14548037ccea1 (patch) | |
| tree | 062a690c118bc4d3d7e3c90d6c176b834fb679c4 /odin/strm/cleanup_youtube | |
| parent | c079d7c2d170ea20b1fc74157cbf27c7f798b9a9 (diff) | |
| download | nixos-05c5b0ef5ed9788da072c0738bd14548037ccea1.tar nixos-05c5b0ef5ed9788da072c0738bd14548037ccea1.tar.gz nixos-05c5b0ef5ed9788da072c0738bd14548037ccea1.tar.bz2 nixos-05c5b0ef5ed9788da072c0738bd14548037ccea1.tar.xz nixos-05c5b0ef5ed9788da072c0738bd14548037ccea1.zip | |
…
Diffstat (limited to 'odin/strm/cleanup_youtube')
| -rw-r--r-- | odin/strm/cleanup_youtube | 3 |
1 files changed, 2 insertions, 1 deletions
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 { | |||
| 19 | 19 | ||
| 20 | urldecode() { local x="${$(cat)//+/ }"; echo -e "${x//\%/\\x}" } | 20 | urldecode() { local x="${$(cat)//+/ }"; echo -e "${x//\%/\\x}" } |
| 21 | 21 | ||
| 22 | @rollingdirectory@/bin/rolling-directory /srv/media/youtube 50Gi | 22 | dir=/srv/media/youtube |
| 23 | @rollingdirectory@/bin/rolling-directory ${dir} 50Gi | ||
| 23 | 24 | ||
| 24 | notmuch search --output=messages --format=text 'is:cached' | \ | 25 | notmuch search --output=messages --format=text 'is:cached' | \ |
| 25 | while read id; do | 26 | while read id; do |
