I made a small shell script in about 10 minutes that simplifies making QR codes with qrencode, available in Trisquel's repos. I place it into the public domain with CC0.

Enter sudo apt-get install qrencode into the terminal to install qrencode, if it hasn't been installed already.

Type chmod +x [filename here] to make the script executable.

To run the script, type ./[filename here] while in the same folder as the script.

#!/bin/bash
# This is an easy-to-use front end for qrencode, a QR code generator.
# qrencode must be installed for this script to work.
#
# To the extent possible under law, I waive all copyright and related or
# neighboring rights to this script. For more information see
# http://creativecommons.org/publicdomain/zero/1.0/.
# This work is published from the United States.

echo "Enter text for QR code:"
read STRING
echo "Enter name of file:"
read NAME
qrencode -o $NAME $STRING
exit 0;


#!/bin/bash
# This is an easy-to-use front end for qrencode, a QR code generator.
# qrencode must be installed for this script to work.
#
# To the extent possible under law, I waive all copyright and related or
# neighboring rights to this script. For more information see
# http://creativecommons.org/publicdomain/zero/1.0/.
# This work is published from the United States.

echo "Enter text for QR code:"
read STRING
echo "Enter name of file:"
read NAME
qrencode -o $NAME $STRING
exit 0;

Reply via email to