To do something to all of the html files in a directory (e.g. to grep something)
% cd directory
% find . -name "*.h" -exec grep NSDoWhatIMean {} ; -print
Don't forget the dot right after find, and the{}
construct. Also make sure there's a space after the{}
and;