Replacement of the fixed value web by the variable FILE to define the desired folder name.
This commit is contained in:
parent
22c6459299
commit
21689c98b0
1 changed files with 3 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue