fix error with space in name
This commit is contained in:
parent
c37454b8af
commit
b017093bc5
1 changed files with 1 additions and 1 deletions
|
@ -4,6 +4,6 @@ cat students.json | jq -c '.Zaci[]| select(.AktivniEvidence == true) |{id: .PkZ
|
||||||
name=$(echo $line | jq -r '.name')
|
name=$(echo $line | jq -r '.name')
|
||||||
surname=$(echo $line | jq -r '.surname')
|
surname=$(echo $line | jq -r '.surname')
|
||||||
echo "Processing $name $surname "
|
echo "Processing $name $surname "
|
||||||
qrencode -o "qrcodes/$id.png" $line
|
qrencode -o "qrcodes/$id.png" "$line"
|
||||||
convert -size 1000x640 xc:white templates/background.png -geometry 500x460+0+200 -composite templates/logo.png -geometry 420x100+40+40 -composite -background transparent -fill black -size 420x240 -font templates/Quicksand-VariableFont_wght.ttf caption:"$name\n$surname" -geometry +40+220 -composite qrcodes/$id.png -geometry 420x420+540+140 -composite "cards/$name-$surname.png"
|
convert -size 1000x640 xc:white templates/background.png -geometry 500x460+0+200 -composite templates/logo.png -geometry 420x100+40+40 -composite -background transparent -fill black -size 420x240 -font templates/Quicksand-VariableFont_wght.ttf caption:"$name\n$surname" -geometry +40+220 -composite qrcodes/$id.png -geometry 420x420+540+140 -composite "cards/$name-$surname.png"
|
||||||
done
|
done
|
||||||
|
|
Loading…
Reference in a new issue