Skip to content

Instantly share code, notes, and snippets.

@carlosgeos
Created February 19, 2019 20:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carlosgeos/db762ddbbc9728443b990d4df5fd0c61 to your computer and use it in GitHub Desktop.
Save carlosgeos/db762ddbbc9728443b990d4df5fd0c61 to your computer and use it in GitHub Desktop.
WireGuard .conf files -> QRCode
# Transforms WireGuard .conf files into QRCodes, to
# easily import them using the Android WireGuard App
for f in $(find . -name '*.conf'); do
qrencode -t ansiutf8 -o ${f%.*}-qrcode.txt < $f;
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment