mirror of
https://gitea.blesmrt.net/mikaela/gist.git
synced 2024-11-01 16:09:23 +01:00
15 lines
363 B
Bash
Executable File
15 lines
363 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Turn vcards into QR codes
|
|
|
|
# loop through all vcard files
|
|
for vcard in *.vcard; do
|
|
if [ -f "$vcard" ]; then
|
|
# -l H - high error correction
|
|
# -t utf8 - output to terminal
|
|
# -r - read file
|
|
# -o output file
|
|
qrencode -l H -t utf8 -r $vcard
|
|
qrencode -l H -o $vcard.png -r $vcard
|
|
fi
|
|
done
|