Multi Commander Support Forum

Multi Commander => Support and Feedback => Topic started by: jp on July 30, 2025, 15:54:37

Title: Search in subfolders that have a specific name/pattern
Post by: jp on July 30, 2025, 15:54:37
Hi,

Let's say we have a tree structure like that :
/ROOT
├── A
│   ├── 1
│   │   └── not_te_be_selected.json
│   └── 2
├── B
│   ├── 1
│   └── 2
└── C
    ├── 1
    ├── GOOD_SUBFOLDER
    │   └── to_be_selected.json
    └── 2


I'm looking for a way to search *.json files from ROOT folder, but only in subfolders that also match a pattern :
*\GOOD_*\*.json

That would return only
ROOT\C\GOOD_SUBFOLDER\to_be_selected.json

Is that somehow possible?

Regards,
Julien
Title: Re: Search in subfolders that have a specific name/pattern
Post by: Mathias (Author) on July 30, 2025, 16:08:18
Maybe
In advanced search. You can add rules for Extended Properties.
And "Path" is a property. And you can add a Rule there for wildcard matching of the path "*/GOOD_*
And then you have *.json as the normal filename matching
Title: Re: Search in subfolders that have a specific name/pattern
Post by: jp on July 30, 2025, 16:29:18
That's it! Nice :)

It would be convenient to have RegExp/Wildcard working on the the full file path. Maybe by adding "Full file path" to the "Include" drop-down menu in the "File Matching" tab (attachement)?

Anyway, thanks for the answer.

Julien