I am looking for a way to do something that can find all files less than size except filenames with an extension or more. May be more than one.
find . -type f -size -20M -name /! -name *.mp3 -delete
From some of the things I found online I thought that this would be what I was looking for but it is not working. Pretty much I am looking for this
find . -type f -size -/+ size (except) *.ext -delete
What do you think?