I have several thousands of automatically saved web-pages, proceeding from different sources. Many of the web-pages have embedded fonts in files like *.woff, *.eot, *.ttf, and *.svg. I'd like to reduce the size of these, deleting all font files. How can I test whether a file is for fonts? It's clear that I can find some with
find . -type f -name *woff. Specially, confusion is possible with *svg files. A *svg file can be either a font file like xxxwebfontsxxx.svg or it can be a perfectly informative image.
If it's not possible to test the files directly, what extensions should I delete? The font files that I know by extension are *otf, *ttf, *eot, *woff and some *svg can be fonts or not. Is it save to delete these first four types of file?