From d5a4c22ff591d08d2a5943ecf14dfa8624216d79 Mon Sep 17 00:00:00 2001 From: Christian Wolf Date: Mon, 4 Nov 2024 21:11:58 +0100 Subject: [PATCH] Allow for more control on what to archive --- scripts/create-archives.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/create-archives.sh b/scripts/create-archives.sh index 386577a..315c1b9 100755 --- a/scripts/create-archives.sh +++ b/scripts/create-archives.sh @@ -13,12 +13,12 @@ then exit 1 fi -find content/albums -type d | while read dir +find content/albums -type d "$@" | while read dir do ( echo "Creating archive for $dir" cd "$dir" - find -type f -iname "*.jpg" | grep -v '/thumbnail.jpg$' | zip -u album.zip -@ + # find -type f -iname "*.jpg" | grep -v '/thumbnail.jpg$' | zip -u album.zip -@ ) done