From 21689c98b091f8069b72abaf705122cd8cef2049 Mon Sep 17 00:00:00 2001 From: KazukyAkayashi Date: Tue, 13 Jun 2023 08:10:59 +0200 Subject: [PATCH] Replacement of the fixed value web by the variable FILE to define the desired folder name. --- borsize.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/borsize.sh b/borsize.sh index bb36228..288d21c 100755 --- a/borsize.sh +++ b/borsize.sh @@ -1,5 +1,6 @@ #!/bin/bash -## author : KazukyAkayashi +## author : KazukyAkayashi +## git : https://forge.zarchbox.fr/KazukyAkayashi/borsize.sh ## description : Script that automates the addition of borders and then resizes the desired image(s). ## Bash strict mode #################################### @@ -18,7 +19,7 @@ FILE=web if [ ! -d "$FILE" ]; then echo "Create ${FILE} directory" - mkdir web + mkdir ${FILE} fi ## Change border or/and resize if you want.