To get files with certain string in their file names, it is quite straightforward:
However, how to do the reverse one: how to get files without certain strings in their files names on Linux?
You can get a list of file names by a combination of
xargs as follows:
find . ! -name '.' -and ! -name '*string*' | xargs
grep as follows:
ls | grep -v string | xargs