How to search for nonmatch?

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
invegat
Junior Member
Junior Member
Posts: 3
Joined: 2017-02-02, 20:34 UTC

How to search for nonmatch?

Post by *invegat »

I tried (node_modules){0} that I hoped would eliminate all paths containing that text, didn't work.
_
User avatar
Dalai
Power Member
Power Member
Posts: 10032
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

Search > Plugins > [X] Search in plugins

Code: Select all

tc | path | !contains | <your_exclude_pattern_here>
Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Actually excluding dirs with plugins is a quite bad idea since TC will still enumerate all files in these folders. It is much more efficient to exclude dirs in Search for field using pipe, e.g.:

Code: Select all

* | node_modules\
(as in all other TC dialogs, F1 key works pretty fine BTW)
User avatar
Dalai
Power Member
Power Member
Posts: 10032
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Post by *Dalai »

You're right, didn't think of this exclude pipe thing.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
invegat
Junior Member
Junior Member
Posts: 3
Joined: 2017-02-02, 20:34 UTC

Post by *invegat »

Thanks, should have read the search help - the pipe works great.
Post Reply