From 1501b47a451803ff51068e544b7d1c505915541d Mon Sep 17 00:00:00 2001 From: "alex.sharov" Date: Tue, 12 Apr 2022 22:22:13 +0700 Subject: [PATCH] recompress --- cmd/downloader/recompress.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/downloader/recompress.sh b/cmd/downloader/recompress.sh index c749f4c9e..c4967cee7 100755 --- a/cmd/downloader/recompress.sh +++ b/cmd/downloader/recompress.sh @@ -1,4 +1,5 @@ - +#!/bin/bash +set -e dir=$1 files=$(ls $dir/snapshots | grep -v tor | grep seg | sort -n -t$'-' -k1)