From 33ec0f816ad67ca4910b6bbf36b16d9e1a53be4d Mon Sep 17 00:00:00 2001 From: Jenny Date: Fri, 10 Jan 2025 21:33:02 +0100 Subject: [PATCH] green_to_apha improvement --- src/main/scripts/green_to_apha.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/scripts/green_to_apha.sh b/src/main/scripts/green_to_apha.sh index 998c651..12c5e1f 100755 --- a/src/main/scripts/green_to_apha.sh +++ b/src/main/scripts/green_to_apha.sh @@ -1,3 +1,6 @@ #!/bin/bash -magick "$1" -transparent "#00ff00" "$1" \ No newline at end of file +for file in "$1"/*.png; do + echo "$file" + magick "$file" -transparent "#00ff00" "$file" +done \ No newline at end of file