Last active
February 11, 2023 08:32
-
-
Save fernvenue/cf03b869f00b72075b2a6d54282a80cb to your computer and use it in GitHub Desktop.
Simple script to convert multiple djvu files to pdf.
This file contains hidden or 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
#!/bin/bash | |
apt install -y djvulibre-bin ghostscript | |
for file in *.djvu; do djvups -verbose "$file" "${file%.*}.ps"; done | |
for file in *.ps; do ps2pdf "$file" "${file%.*}.pdf"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment