Search for files in derectorues, which paths not includes substring
Moderators: Hacker, petermad, Stefan2, white
Search for files in derectorues, which paths not includes substring
Hi.
I need to search for *.yaml files in current directory and all subdirectories with unlimited depth, but subdirectory path should not includes "/node_modules/" substring.
Is it possible with total commander?
I need to search for *.yaml files in current directory and all subdirectories with unlimited depth, but subdirectory path should not includes "/node_modules/" substring.
Is it possible with total commander?
Re: Search for files in derectorues, which paths not includes substring
Set your search for .yaml files
Then switch to plugins tab:
Check "search in plugins"
Define a rule as following row:
Then switch to plugins tab:
Check "search in plugins"
Define a rule as following row:
Code: Select all
tc path !contain /node_modules/
Re: Search for files in derectorues, which paths not includes substring
Ah, interesting, I will try, thank you.
Re: Search for files in derectorues, which paths not includes substring
Serch for:
should also do it.
As the Help file says:
Code: Select all
*.yaml|node_modules\
As the Help file says:
All masks after the pipe character | will be treated as exclude masks.
*.ini | windows\ finds all ini files except those in directories called "Windows" and their subdirs.
Last edited by petermad on 2022-05-21, 10:09 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Search for files in derectorues, which paths not includes substring
So, how is correct?.. with forwardslash or backslash? Or it means different things?petermad wrote: 2022-05-20, 18:55 UTC Serch for:should also do it.Code: Select all
*.yaml|node_modules/
As the Help file says:All masks after the pipe character | will be treated as exclude masks.*.ini | windows\ finds all ini files except those in directories called "Windows" and their subdirs.
Re: Search for files in derectorues, which paths not includes substring
My bad - it should have been a backslash - I have corrected my previous post now.So, how is correct?.. with forwardslash or backslash? Or it means different things?
License #524 (1994)
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Danish Total Commander Translator
TC 11.51 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1391a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Re: Search for files in derectorues, which paths not includes substring
Thanks for answers, guys.
The problem is solved.
The problem is solved.