0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【CLI】qrencodeコマンドの使い方

Posted at

qrencodeをインストール

以下のコマンドでqrencodeをインストールする。

brew install qrencode

qrencodeの使い方

文字列をQRコードに変換してファイルに保存する。

qrencode -o path/to/output_file.png 'string'

入力ファイルをQRコードに変換し、ファイルに保存する。

qrencode -o path/to/output_file.png -r path/to/input_file

文字列をQRコードに変換してターミナルに表示する。

qrencode -t ansiutf8 'string'

パイプからの入力をQRコードに変換してターミナルに表示する。

echo 'string' | qrencode -t ansiutf8
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?