How do I search specified text in files on my Mac that are less than 20kb? I created an SVG image a few months ago.

Recently I found the file is lost, but I don't think I deleted it.

I need to know how can I find this file by setting up these filters:


only search for files that were created in the past 8 months.
only search for files that are less than 20kb.
search keywords "XXXX" (which I am sure is in that file) that existed in these qualified files.


Is there any way I can do this? Any solution is welcome.
A simple Finder Spotlight search can do this. Navigate to the Folder you want to start the search from. Type Command F, and then enter the search criteria:



I'm not sure what you mean by keywords: do you mean metadata describing the file, or some actual text in the SVG? You could try the "Contents" token for the latter.