I have a bunch of files in a folder:
foo_1
foo_2
foo_3
bar_1
bar_2
buzz_1
...
I want to find all the files that do not st
In my case I had an extra requirement, the files must end with the .py extension. So I use:
find . -name "*.py" | grep -v prefix_
In your case, to just exclude files with prefix_:
find . | grep -v prefix_
Note that this includes all sub-directories. There are many ways to do this, but it can be easy to remember for those already familiar with find and grep -v which excludes results.