Skip to content

Instantly share code, notes, and snippets.

@fuyuton
Last active January 17, 2025 09:56
Show Gist options
  • Select an option

  • Save fuyuton/3417d56121c77efee54b2a77c8eed98e to your computer and use it in GitHub Desktop.

Select an option

Save fuyuton/3417d56121c77efee54b2a77c8eed98e to your computer and use it in GitHub Desktop.
evernote-enex2md.cmd
rem evernote2md
rem https://github.com/wormi4ok/evernote2md/tree/master
rem を利用して、windowsで複数のenexファイルを処理するためのコマンドファイル
rem ただしフォルダ内にあるenexファイルを展開することはこのコマンドファイルでは出来ない
rem Thank you. https://orangeclover.hatenablog.com/entry/20101004/1286120668
@echo off
for %%f in (*.enex) do call :GET_FILENAME "%%f"
GOTO :END
:GET_FILENAME
rem echo -%変数 をファイル名だけに展開します。
echo %~n1
evernote2md -o "%~n1" "%~n1".enex
exit /B 0
:END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment