Can't live without
By glazou on Tuesday 28 December 2004, 22:55 - Mozilla - Permalink
find . \( -name \*.xul \
-o -name \*.inc \
-o -name \*.mn \
-o -name \*.rdf \
-o -name \*.xml \
-o -name \*.in \
-o -name \*.cpp \
-o -name \*.h \
-o -name \*.idl \
-o -name \*.dtd \
-o -name \*.properties \) -exec dos2unix -U {} \;
Just try to run the XUL preproc on a #include for a file having DOS end of lines and you'll know what I mean...

Comments
May I suggest using xargs? That may speed up your query.
Replace
-exec dos2unix -U {} \;
by
| xargs dos2unix -U
*.js
*.css