Search for files on disks by patterns

English support forum

Moderators: white, Hacker, petermad, Stefan2

User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Search for files on disks by patterns

Post by *makinero »

Please support for easy regex PATH

Search in: [E-Z]:\\Folder\s
in other tools my regex work


---------------------------
Total Commander
---------------------------
Search path not found!
---------------------------
OK
---------------------------
Last edited by makinero on 2017-02-18, 17:31 UTC, edited 1 time in total.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

What about
- "Find Files"-dialog
- Field "Search for:" ev:path:Folder searchwords (remark: "Folder" is the name of the folder)
- Field "Search in:" blank
- 'Everything' -> ticked
?

"Search for:" ev:searchwords is also possible.

Result:
Fast results in TC and all local drives (NTFS volumes) are taken into account - (controllable in Everything).
If not then check in Everything: Tools > Options > Indexes - NTFS if your harddrives are included in the database.

EDIT:
Sorry, correct syntax should be ...

Code: Select all

- ev:path:*\Folder searchwords  => finds e.g. D:\Folder\searchwords, I:\Folder\searchwords,
                                   D:\Data\Data\Folder\searchwords,  I:\Data\Folder\searchwords,
                                   I:\$RECYCLE.BIN\S-1-5-21-2139236618-1214191708-2897600188-1000\$R3G57WH\Folder\searchwords
                                
- ev:path:*:\Folder searchwords => finds e.g. D:\Folder\searchwords, I:\Folder\searchwords

Result:
Search all local drives for specific files in the FOLDER folder.
EDIT OFF
Last edited by tuska on 2017-02-18, 15:58 UTC, edited 1 time in total.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

I totally do not understand. This is complicated in the TC.
I want to be found on all partitions (ALL LETTERS E-Z)
Folders with names
The beginning of "AB"

Incl. Subfolders

Code: Select all

E:\AB 1\
G:\AB HHH 3\
Z:\AB Friends\

Code: Select all

(?-i)^w_[a-z0-9]{8}\.jpg
AND
*.jpg

Code: Select all

Width:1400
Height:500
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

I do not understand this code, all too confusing
I do not know where all of this type enter
It is hundreds of different folders with thousands or more subfolders.
I just want to look for specific folders, I do not want to look everywhere.
I do not like complicated commands, I like a simple regex

Image: https://s15.postimg.org/ltysaz2kb/Screen_Shot_02_18_17_at_05_16_PM_001.gif
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

I suggest all should stop trying to help him.
Its almost useless as one can see on his last post.
He is not willing or able to follow simple advices
and doesn't most of the time not even try it.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

- ev:path:Folder searchwords
So I have to type in the names of thousands of folders?
-ev:PAT1 PATH2 PATH 3...(100 milion path) Enter?


How do I search folders by name only using Regex.

Other tool is based only on the regex (the simplest and fastest search without complicated commands)
Name: Regex
Folder & Sunfolder: Regex
but does not support the "Search by dimension"

Ask:
Please support Regex
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6449
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Post by *Horst.Epp »

makinero wrote:
- ev:path:Folder searchwords
So I have to type in the names of thousands of folders?
-ev:PAT1 PATH2 PATH 3...(100 milion path) Enter?


How do I search folders by name only using Regex.

Other tool is based only on the regex (the simplest and fastest search without complicated commands)
Name: Regex
Folder & Sunfolder: Regex
but does not support the "Search by dimension"

Ask:
Please support Regex
Please stop to tell us about your other magic tool
which are only known by you.
Its wasting of time to read your postings this way
and it looks like no one can help you.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

1. Search for: AB\s

2. Search in:
e:\;f:\;g:\;h:\;i:\;j:\;k:\;l:\;q:\;r:\;s:\;t:\;u:\;v:\;y:\;z:\

3. Search subdir: current dir only

4. Feed to list box

5. Search for: (?-i)^w_[a-z0-9]{8}\.jpg

6. Plugin
imgsize Height 1400
imgsize Width 500

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

Post by *Horst.Epp »

makinero wrote:1. Search for: AB\s

2. Search in:
e:\;f:\;g:\;h:\;i:\;j:\;k:\;l:\;q:\;r:\;s:\;t:\;u:\;v:\;y:\;z:\

3. Search subdir: current dir only

4. Feed to list box

5. Search for: (?-i)^w_[a-z0-9]{8}\.jpg

6. Plugin
imgsize Height 1400
imgsize Width 500

Work :lol:
Strange, now you tell us that sub-dirs must not be searched at all.
What about all your postings above ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3374)
TC 11.03 x64 / x86
Everything 1.5.0.1371a (x64), Everything Toolbar 1.3.2, Listary Pro 6.3.0.69
QAP 11.6.3.2 x64
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

Horst.Epp wrote: Strange, now you tell us that sub-dirs must not be searched at all.
What about all your postings above ?

Code: Select all

3. Search subdir: current dir only 
Limit the search subfolders due to the large number of subfolders and add "Feed to listbox" Total Commader/GUI may stop responding very long time.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

Basic prerequisites for a successful search with the support of the Everything search-engine:
A) Everything must be ticked in TC
B) In Everything this option must be ticked: Match whole filename when using wildcards (!) -> Menu "Tools" > "Options... <Strg+P>" > "General" > "Search"...

1. Search for (in TC): ed:folder:ab* OR ed:folder:case:AB* (case-sensitive!)
2. Search in: E:\;F:\;G:\; ... Z:\ [Button "Drives" -> "Local Harddisks" -> OK, delete "C:\;D:\" ...]
3. Feed to listbox
4. Search for (ALT+F7): *.jpg AND search in: Plugin ImgSize: imgsize Height 1400, imgsize Width 500
works too.
IMHO there is no need for RegEx in this case.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

Makinero:
I just want to look for specific folders, I do not want to look everywhere.

Code: Select all

ed:folder:case:AB*
Excuse me, but that does not exactly match the names of my folders and paths.

Wrong Match:

Code: Select all

e:\ABONTTE\	<DIR>	28-10-2015 21:39	----
f:\1\ABZONE KAZE ALL!!\	<DIR>	01-02-2012 15:21	----
f:\1 NTFS\ABO NA 1\	<DIR>	19-01-2012 07:25	----
f:\Ja\AB 1 on zzz9.iM.RU @ iM.RU\	<DIR>	17-02-2017 11:28	----


E:\AB 1\
G:\AB HHH 3\
Z:\AB Friends\


REGEX MATCH:
https://s14.postimg.org/jpkl25d8h/Screen_Shot_02_19_17_at_08_53_AM.gif
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

The solution http://ghisler.ch/board/viewtopic.php?p=325396#325396 corresponds to this request:
http://ghisler.ch/board/viewtopic.php?p=325380&sid=d2637ebf1ff85b70a57e0209d7fb773d#325380
- I want to be found on all partitions (ALL LETTERS E-Z) Folders with names the beginning of "AB", Incl. Subfolders
- AND *.jpg Width:1400 Height:500

The problem is that because of your contradictory statements for you always new problems arise
and therefore it is very difficult to find the right solution for you:
- I just want to look for specific folders, I do not want to look everywhere.
- So I have to type in the names of thousands of folders? -ev:PAT1 PATH2 PATH 3...(100 milion path) Enter?
- 2. Search in: e:\;f:\;g:\;h:\;i:\;j:\;k:\;l:\;q:\;r:\;s:\;t:\;u:\;v:\;y:\;z:\
- Excuse me, but that does not exactly match the names of my folders and paths.

Further solution, because it is you:

Code: Select all

E:\AB 1\		
TC - "Find files":	
ed:folder:case:path:E:\AB 1		
Search in: E:\  
Search in subdirectories: current dir only 
Feed to listbox, ...


Only for comparison in Everything:

Code: Select all

Everything:		
folder:case:path:E:\AB 1\	finds folder and path:E:\AB 1\ only
folder:case:path:E:\AB 1	 finds folder and path:E:\AB 1\AB 1\ too(!)
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

Code: Select all

folder:case:path:E:\AB 1\
This is only one name folders, and how to find other names?
First, I want to find only specific folders from the matches.
With regex enabled from the search menu, the search:
[E-Z]:\\AB\s
Should match:
E:\AB 123

[E-Z] matches letters E to Z
\\ matches a single \
\s matches a space.
Second, if you already find these folders from the matches that I can easily find the files.
Thirdly, do not use the application "Everything" because it does not speed up the search.
In the future, the developer Everything will have in mind to add support for a parallel search on the physical disks.
User avatar
tuska
Power Member
Power Member
Posts: 3740
Joined: 2007-05-21, 12:17 UTC

Post by *tuska »

I'm sorry, I can not help you here any more.
Post Reply