Had a directory with > 150 *.properties-files and needed to check if there where any files not ending with .properties. ls lists all the files, combine it with grep and you are saved.
# See all files ending in .html
ls | grep “\.html$”
# see all files not ending in .html
ls | grep -v “\.html$”
Solution found at unix.com