Created
June 23, 2019 19:51
-
-
Save gene1wood/abcdcd45135f7f753ba912990308bbc3 to your computer and use it in GitHub Desktop.
Convert a string to a QR code.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Make sure qrencode and imagemagick are installed | |
read -p "Enter string to be displayed as a QR code : " value | |
echo -n "${value}" | qrencode --level=H --output=- --size=12 | display - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment