convert epub to pdf
- -o=/path specify output path
- -f=/path specify input path
- -r recursive directory
- -v output details
- -m output debug details
- -j=N allow N jobs at once
- -d delete source file after convert successfully
- -t specifies the timeout for each conversion, the unit of time is seconds, default is no limit.
- repair the recursive directory error
- cpu and memory limit by cgroup
- -o=/path specify output path
- -f=/path specify input path
- -r recursive directory
- -v output details
- -m output debug details
- -j=N allow N jobs at once
- -d delete source file
- -t specifies the timeout for each conversion.
- epub to pdf
- need to install
calibre - add
calibreandebook-converttoPATHenvironment variable
linux user can run like this to install calibre
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdinwindows and macOS user can download from Release Assets
Linux
make build
cd bin
./epub2pdf convert /path/to/epub_directoryWindows
make.exe build_win
cd bin
epub2pdf.exe convert /path/to/epub_directoryMacOS
make build_darwin
cd bin
epub2pdf convert /path/to/epub_directoryOutput The output default is in source directory
epub2pdf is released under the Apache 2.0 license. See LICENSE