Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # To install put inside a directory present on your path and set execute permission.
- # To use just pass as arguments the files you want to convert to pdf. eg.:
- # odf2pdf.sh *.odt
- if [ -e /usr/bin/unoconv ]; then
- unoconv --format=pdf --verbose "$@"
- else
- libreoffice --headless --convert-to pdf "$@"
- fi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement