Search for particular folder with subfolder

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
Cooperdale
Junior Member
Junior Member
Posts: 69
Joined: 2008-09-08, 23:03 UTC

Search for particular folder with subfolder

Post by *Cooperdale » 2019-02-25, 18:24 UTC

Hello, so I need to search a huge tree of folders, and find all folders with a certain name which are subfolders of folders with another name.

For instance, let's say I want to find all folders named "zorro" which are direct subfolders of folders named "garcia", like ...\garcia\zorro\...

I have tried to search for paths containing garcia\zorro, but it doesn't work. Actually, it doesn't work if I search for paths containing simply zorro either, so I probably don't know what I'm doing here.

Any help? Thanks.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3231
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Search for particular folder with subfolder

Post by *Horst.Epp » 2019-02-25, 18:37 UTC

Sounds easy using TCs Everything integration, so try:
ev:folder:garcia\zorro
Windows 10 Home x64 October 2018 Update, Version 1809 (OS Build 17763.379)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.22 x64 and x86, Everything 1.4.1.939 (x64)

Cooperdale
Junior Member
Junior Member
Posts: 69
Joined: 2008-09-08, 23:03 UTC

Re: Search for particular folder with subfolder

Post by *Cooperdale » 2019-02-25, 19:06 UTC

I know nothing about Everything. So, I installed the software.
Do I check the "Everything" box and insert the string in the normal TC search form? If so, it found nothing.

Cooperdale
Junior Member
Junior Member
Posts: 69
Joined: 2008-09-08, 23:03 UTC

Re: Search for particular folder with subfolder

Post by *Cooperdale » 2019-02-25, 19:42 UTC

Ok, I've made it work. I had to open Everything before starting the search, for some reason.
What if I only want to find paths which end with garcia\zorro?

User avatar
Dalai
Power Member
Power Member
Posts: 6456
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: Search for particular folder with subfolder

Post by *Dalai » 2019-02-25, 20:33 UTC

This is also possible with TC search: tab Plugins, set to

Code: Select all

tc | path | contains | garcia\zorro
Note that this only works when there are files present in this directory.

Regards
Dalai
#101164 Personal licence
Athlon X4 880K, 16 GiB RAM, Gigabyte F2A88X-D3HP, Win7 x64

Plugins: Services2, Startups

Post Reply