Skip to content

Latest commit

 

History

History
30 lines (19 loc) · 1.05 KB

File metadata and controls

30 lines (19 loc) · 1.05 KB

base62file

実行時点のUNIX時間を62進数に変換したものをベース名とした空のファイルを作成するGoスクリプトです。 ブログの下書きを作成する場合などにファイル名で悩むことを解消するために作成しました。

使用方法

./base62file.exe [ファイル拡張子] [出力先ディレクトリ]

たとえばブログの下書きを作る場合はこんなイメージです。

base62file.exe md ./drafts

ビルド

実行ファイルを作成するにはプロジェクトのディレクトリでgo buildします。

go build base62file.go

ライセンス

ソースコードはGoogle Gemini 2.5 Pro (Preview)が生成したものを元にしています。したがってソースコードに著作権を主張することはありません。

The source code is based on that generated by Google Gemini 2.5 Pro (Preview). Therefore, we do not claim any copyright to the source code. (translated by google translate)