1
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?

More than 3 years have 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

ご参考までに。

1
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
1
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?