The easiest way is to search inside files by content. Here are the quickest methods depending on what you’re using:


Linux / macOS (Terminal)

Use grep:

grep -R --include="*.txt" --include="*.md" "Posts in category:" .

What it does:

  • -R searches recursively in the folder
  • --include limits the search to .txt and .md files
  • "Posts in category:" is the text you’re looking for
  • . means the current folder

It will print the filename where the text exists.

If you only want filenames:

grep -Rl --include="*.txt" --include="*.md" "Posts in category:" .

Windows (PowerShell)

Select-String -Path *.txt, *.md -Pattern "Posts in category:" -List

This shows which file contains that text.


VS Code

  1. Open the folder in VS Code
  2. Press Ctrl + Shift + F
  3. Search:
Posts in category:
  1. Filter files:
*.txt, *.md