LoginSignup
0
0

More than 1 year has passed since last update.

MacのターミナルでExcelファイルとbase64のエンコード/デコード変換

Posted at

Macのターミナルで、Excelファイルをbase64にエンコードしたり、base64をデコードしてExcelファイルを生成する方法を残しておきます。

Excelファイル → base64

base64 -i template.xlsx [-o output.txt]

-oオプションを付けない場合は、base64がターミナル上に出力されます。

base64 → Excelファイル

echo "BASE_64_STRING" | base64 --decode > template.xlsx
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