From 268767638544fc8e33f5e94dea31fde25c11b8b6 Mon Sep 17 00:00:00 2001 From: Jose Celano Date: Thu, 3 Mar 2022 10:53:19 +0000 Subject: [PATCH] fix: [#28] change Base iamge purpose code in script --- scripts/sync-base-images.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/sync-base-images.sh b/scripts/sync-base-images.sh index 620ec20..dea58e1 100755 --- a/scripts/sync-base-images.sh +++ b/scripts/sync-base-images.sh @@ -10,26 +10,26 @@ if [[ ($1 == "") || ($1 == "show_website")]] then echo "Current Base images in website ..." - find ./public/images -type f \( -iname '*-42.*.jpg' -o -iname '*42.*.jpeg' \) + find ./public/images -type f \( -iname '*-52.*.jpg' -o -iname '*-52.*.jpeg' \) fi # Find Base images if [[ ($1 == "") || ($1 == "show_library")]] then echo "Find Base images in library ..." - find ./library/data -type f \( -iname '*-42.*.tif' -o -iname '-42.*.tiff' \) + find ./library/data -type f \( -iname '*-52.*.tif' -o -iname '-52.*.tiff' \) fi # Remove all Base images from public folder if [[ ($1 == "") || ($1 == "remove_base")]] then echo "Removing Base images from public folder ..." - find ./public/images -type f \( -iname '*-42.*.tif' -o -iname '*-42.*.tiff' \) -exec rm -f {} \; + find ./public/images -type f \( -iname '*-52.*.tif' -o -iname '*-52.*.tiff' \) -exec rm -f {} \; fi # Copy all Base images from library to public folder if [[ ($1 == "") || ($1 == "copy")]] then echo "Copying Base images to public folder ..." - find ./library/data -type f \( -iname '*-42.*.tif' -o -iname '*-42.*.tiff' \) -exec cp -fv {} ./public/images \; + find ./library/data -type f \( -iname '*-52.*.tif' -o -iname '*-52.*.tiff' \) -exec cp -fv {} ./public/images \; fi \ No newline at end of file