cupsfilter: Unable to determine MIME type of ““??”.** I'm trying to convert html files to pdf files using the following command line 

for file in *.html; do /usr/sbin/cupsfilter “$file” &gt; $file.pdf; done


But I got the message as below and empty pdf files 

cupsfilter: Unable to determine MIME type of ““??”.**


Could you please point out the syntax error that I made in command line. 

I'm currently using Mac OS X 10.11.3
Quotes: “ versus "

You are using 'typographers' quotes instead of 'regular' quotes.
Try this line:

for file in *.html; do /usr/sbin/cupsfilter "$file" &gt; "$file".pdf; done


note the difference in quotation