Batch convert HTML to PDF in OS X #
HTML files can be batch converted to PDF under OS X using a for loop and the virtually undocumented convert command (not the one from ImageMagick):
for file in *.html;do /System/Library/Printers/Libraries/convert -f $file -o $(basename -s ".html" "$file").pdf;done
/mac | Jan 24, 2010
Subscribe or visit the archives.