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)