Replacement of the fixed value web by the variable FILE to define the desired folder name.

This commit is contained in:
Kazuky Akayashi 2023-06-13 08:10:59 +02:00
parent 22c6459299
commit 21689c98b0

View file

@ -1,5 +1,6 @@
#!/bin/bash #!/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). ## description : Script that automates the addition of borders and then resizes the desired image(s).
## Bash strict mode #################################### ## Bash strict mode ####################################
@ -18,7 +19,7 @@ FILE=web
if [ ! -d "$FILE" ]; if [ ! -d "$FILE" ];
then then
echo "Create ${FILE} directory" echo "Create ${FILE} directory"
mkdir web mkdir ${FILE}
fi fi
## Change border or/and resize if you want. ## Change border or/and resize if you want.