species-of-things
clone your own copy | download snapshot

Snapshots | iceberg

No images in this repository’s iceberg at this time

Inside this repository

makepdfs.sh
text/x-sh

Download raw (294 bytes)

#! /bin/bash

bookfolder=${1%/}

for htmlfile in $bookfolder/*.html; do
  basefilename=$(basename "${htmlfile%.html}")
  if [ "${basefilename}" != "template" ]; then
    #echo "${chapterfile%.*}".pdf
  OSPKitPDF "http://html2print/${htmlfile}" "${bookfolder}/pdfs/${basefilename}.pdf"
  fi
done