Last active
October 4, 2021 11:33
-
-
Save 6uclz1/11e1573d91072d4c4cf8043c726fb73a to your computer and use it in GitHub Desktop.
Kindle for PC の電子書籍を epub に変換するスクリプト
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@REM Kindle for PC の電子書籍を epub に変換するスクリプト | |
@REM Kindle ⇨ Calibre に移動(コピー) | |
for /r "%HOMEPATH%\Documents\MyKindleContent" %%f in (*.azw) do ( | |
echo %%f | |
"C:\Program Files\Calibre2\calibredb.exe" add "%%f" | |
) | |
@REM Calibre の電子書籍(azw3)を EPUB に変換 | |
for /r "%HOMEPATH%\CalibreLibrary" %%f in (*.azw3) do ( | |
echo %%~nf | |
"C:\Program Files\Calibre2\ebook-convert.exe" "%%f" "%HOMEPATH%\%%~nf.epub" | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment