That works - nice little plugin - hard to find. Not on totalcmd.net and only reference I could find here is: viewtopic.php?p=322936#p322936FileMask.wdx, maybe?
Search folders that contain txt files that contains a specific word
Moderators: Hacker, petermad, Stefan2, white
Re: Search folders that contain txt files that contains a specific word
2Fla$her
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 folders that contain txt files that contains a specific word
2petermad
Yes, for some reason the author didn't add TwinKey, TWinCmd, TCToolbar, Obex, FSE, FNUL, ClipCont and FileMask.
I've been using these plugins and tools for many years. I didn't think that experienced users here might not know about them. Fortunately, it's possible to take them from the Downloads page.
Yes, for some reason the author didn't add TwinKey, TWinCmd, TCToolbar, Obex, FSE, FNUL, ClipCont and FileMask.
I've been using these plugins and tools for many years. I didn't think that experienced users here might not know about them. Fortunately, it's possible to take them from the Downloads page.
Overquoting is evil! 👎
Re: Search folders that contain txt files that contains a specific word
Can't test at the moment, but the FileInDir plugin claims:rockberto wrote: 2024-07-16, 08:48 UTC Is there a way in total commander to search and display only folders that contain text files that contain a specific word?
The FileInDir content plugin is a replacement of the legacy FileInDir plugin by olesio. It can be used to search for directories which contain specified files, and optionally with specified text content.
Furthermore, it can be used in the search dialog for a full text search.
Sounds like this should get the job done; worth a try ...
Re: Search folders that contain txt files that contains a specific word
2Fla$her
Of the more than 150 plugins and tools i have, I only have TConsole, FileX, TCmenu, TCToolbar and now FileMask from this author - and of these only two (Tconsole and FileX) has a dedicated page in this forum. VadiMGP really doesn't do much to promote his work.I didn't think that experienced users here might not know about them
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 folders that contain txt files that contains a specific word
2NotNull
And as with FileMask the file type (and search word) has to be manually put in the fileindir.ini file (and TC restarted).
Sample entry for fileindir.ini:
Yes, FileInDir can actually get the work done in one go. Notice that is does not include the base dir in the search. I don't know how comprehensive the search feature is, but it can find text in ANSI text files.Sounds like this should get the job done;
And as with FileMask the file type (and search word) has to be manually put in the fileindir.ini file (and TC restarted).
Sample entry for fileindir.ini:
Code: Select all
[txt_files]
IgnoreCase=1
SearchFile=*.txt
SearchContent=2023
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 folders that contain txt files that contains a specific word
Thank you for testing! That means there is another way to get this done (although I still like rockberto's creative solution much better
