#!/bin/bash if [ $# -ne 1 ] then echo "Insufficient params. Please provide a file and image cache path" exit 1 fi # filepath then language /usr/bin/pdftohtml -noframes -stdout -nodrm "$1"