I have several folders with many files. I want to find folders that have files with .BAK extension where there are no other files with .XYZ as an extension in the same folder.
I can search for *.BAK and come up with 857 files but I want to find the folders that contain BAK but do not have any .XYZ extensions within the folder.
Is there a way?
Directly in Everything input line, then Export... (Example drive D:)
(1) D:\ child:*.bak File - Export...: bak.efu Searching - child:
(2) D:\ child:*.xyz File - Export...: xyz.efu
In Total Commander:
(3) Compare files by content: cm_CompareFilesByContent (button with command...)
bak.efu <=> xyz.efu --> remove identical folders (from xyz.efu) in bak.efu, save bak.efu.
(4) Open the file bak.efu by double clicking on the file in Total Commander --> in Everything.
Windows 10 Pro (x64) Version 1809 (Build 17763.475) | TC 9.22a x64/x86
☑ 'Everything' | Everything - Version 184.108.40.2061 (x64) | How to use TC <=> Everything
That will search in all the drives and directories that is indexed by 'Everything' - better use ed: to only search from current directory:
Code: Select all
Thank you for pointing this out!
I was thinking too complicated.
Btw, if you use the parameter ev: in TC (your picture), the field "Search in" in TC will be ignored.
The search can also be narrowed down with the parameter ev:, e.g. as follows (for drive D: OR D:,I:,J:):
Code: Select all
ev:D: !child:*.xyz child:*.bak ev:<D:|I:|J:> !child:*.xyz child:*.bak
OP didn't speak about any searching limits .....
#259941, TC 9.21a x64, Windows 7 SP1 x64
You are rightOP didn't speak about any searching limits