find command exec rm exclusion?

I was wondering if it’s possible to exclude the elimination of a known file name within the followin command line:

find /Users//MyFolder/log.* -exec rm -f ‘{}’ \

I mean, there are other “log.*” files (I know their names) in MyFolder directory that I don’t want to delete so i wish to know if there’s a way to exclude them from the -exec rm command.

thank you


find /Users/<user name>/MyFolder/log.* -not -name log.KnownFile -not -name log.AnotherKnownFile

it was so simple… LOL
thank you very much!