-
-
Save ruthenium/f43aa201c56b6d642bf8 to your computer and use it in GitHub Desktop.
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 | |
# convert DjVu -> PDF | |
# usage: djvu2pdf.sh <file.djvu> | |
# depends on ddjvulibre package, To install package run `sudo apt-get install ddjvulibre` | |
i="$1" | |
echo "------------ converting $i to PDF ----------------"; | |
o="`basename $i .djvu`" | |
o="$o".pdf | |
echo "[ writing output to $o ] " | |
ddjvu -format=pdf -quality=85 -verbose "$i" "$o" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment