content/generate.sh

7 lines
88 B
Bash

#!/bin/bash
FILE="${1}"
OUTPUT="${2}"
cat ${FILE} | qrencode -s 10 -8 -o "${OUTPUT}"