I'm refactoring some build tasks in my grunt and I'm trying to find a way to search for files ending with
find *.html --exclude=*-partial.html
find supports logical operators, specifically
-not, so you could look for all the files that end in
.html but do not end in
find . -name "*.html" -and -not -name "*-partial.html"