How to find some file, this doesn't work.
Moderators: Hacker, petermad, Stefan2, white
How to find some file, this doesn't work.
hello. I need to find this file, which exist in my folder:
Revista Magazin istoric - Nr. 11 (164) 1980.pdf
This is how I make the find:
Image: https://snipboard.io/XzPg7C.jpg
why can't it find my file?
Revista Magazin istoric - Nr. 11 (164) 1980.pdf
This is how I make the find:
Image: https://snipboard.io/XzPg7C.jpg
why can't it find my file?
Re: How to find some file, this doesn't work.
If the search term contains a dot, TC will only search for exact matches. Since your file is name "something Nr. 11 something.pdf" and not just "something Nr. 11 something", it won't find it. You need to modify your search term: add the extension, or replace any dots with a question mark or an asterisk to make TC not just look for exact matches.
BTW, this behavior is mentioned in TC's help (press F1 while in the search window).
Regards
Dalai
BTW, this behavior is mentioned in TC's help (press F1 while in the search window).
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
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64
Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Re: How to find some file, this doesn't work.
"Find text" is also ticked, you are also searching for blank text in the file. Is that what you want?
Rgds RedTiF
Rgds RedTiF
Re: How to find some file, this doesn't work.
ticked "Find text" with empty box will not searching for blank text in the file. Just check it out yourself.RedTiF wrote: 2022-03-08, 18:50 UTC "Find text" is also ticked, you are also searching for blank text in the file. Is that what you want?
"replace any dots" will not help here, only adding the extension (or just an asterisk *) will find the file.
Or searching for less parts like one or two word, a number or the hyphen will also find the file.
The space char separates the whole search term (because it is here unquoted) into different search masks.
Re: How to find some file, this doesn't work.
This is a very easy task enabling the Everything option in the TC search.
Then something Nr. 11 something and any shorter version of it is found
without complicated syntax and rules.
Then something Nr. 11 something and any shorter version of it is found
without complicated syntax and rules.
Windows 11 Home, Version 24H2 (OS Build 26100.4061)
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
TC 11.55 RC2 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.4 x64
Re: How to find some file, this doesn't work.
thanksHorst.Epp wrote: 2022-03-08, 19:51 UTC This is a very easy task enabling the Everything option in the TC search.
Then something Nr. 11 something and any shorter version of it is found
without complicated syntax and rules.
Re: How to find some file, this doesn't work.
ok, there is a good chance to find that file with .dot, if I choose to find with RegEx. I put \ in front of all .dot And it works, super !
THE BIG PROBLEM is that I need to find multiple files. Each file can be find separately, ok. But what if I have 10 files?
I put * or *: between name of the files, but is not working...
THE BIG PROBLEM is that I need to find multiple files. Each file can be find separately, ok. But what if I have 10 files?
I put * or *: between name of the files, but is not working...
Re: How to find some file, this doesn't work.
2vascaraus, I'm not sure what you want, but if you want to search for multiple strings using RegEx use the pipe "|" symbol. For example:
Code: Select all
\.dot|\.txt|\.cal
Re: How to find some file, this doesn't work.
For example I have this 3 files that have . and (). So, I can use RegEx for search. I can put \. or \( or \) in front of any element that is use by regex.
Revista Magazin istoric - Nr. 11 (164) 1980.pdf
Revista Magazin istoric - Nr. 26 (4) 1990.pdf
Revista Magazin istoric - Nr. 198 (32) 1991.pdf
Please tell me for this example how to find all 3 files with TCM (using RegEx or other way).
Revista Magazin istoric - Nr. 11 (164) 1980.pdf
Revista Magazin istoric - Nr. 26 (4) 1990.pdf
Revista Magazin istoric - Nr. 198 (32) 1991.pdf
Please tell me for this example how to find all 3 files with TCM (using RegEx or other way).
Re: How to find some file, this doesn't work.
I think I find the solution. I must put "|" between files, like this:
Revista Magazin istoric - Nr\. 11 \(164\) 1980\.pdf|Revista Magazin istoric - Nr\. 26 \(4\) 1990\.pdf|Revista Magazin istoric - Nr\. 198 \(32\) 1991\.pdf
Revista Magazin istoric - Nr\. 11 \(164\) 1980\.pdf|Revista Magazin istoric - Nr\. 26 \(4\) 1990\.pdf|Revista Magazin istoric - Nr\. 198 \(32\) 1991\.pdf
Re: How to find some file, this doesn't work.
2vascaraus
Yes, that is the correct syntax for RegEx if you want to search using full name.
It does however searches for a match anywhere in the file name. So it would also find for example:
My Revista Magazin istoric - Nr. 11 (164) 1980.pdf
Revista Magazin istoric - Nr. 198 (32) 1991.pdf (1)
Revista Magazin istoric - Nr. 26 (4) 1990.pdf (2)
To match full file name using RegEx use:
Yes, that is the correct syntax for RegEx if you want to search using full name.
It does however searches for a match anywhere in the file name. So it would also find for example:
My Revista Magazin istoric - Nr. 11 (164) 1980.pdf
Revista Magazin istoric - Nr. 198 (32) 1991.pdf (1)
Revista Magazin istoric - Nr. 26 (4) 1990.pdf (2)
To match full file name using RegEx use:
Code: Select all
^(Revista Magazin istoric - Nr\. 11 \(164\) 1980\.pdf|Revista Magazin istoric - Nr\. 26 \(4\) 1990\.pdf|Revista Magazin istoric - Nr\. 198 \(32\) 1991\.pdf)$
Re: How to find some file, this doesn't work.
So I have tu put at the beginning and at the end of search
Thanks. I test it, and works also simple. Just put "|" between files, and for all ".dot" and "()" brackets just put "\" in front of it
Code: Select all
^(
Code: Select all
)$
Code: Select all
^(Revista Magazin istoric - Nr\. 11 \(164\) 1980\.pdf|Revista Magazin istoric - Nr\. 26 \(4\) 1990\.pdf|Revista Magazin istoric - Nr\. 198 \(32\) 1991\.pdf)$
Code: Select all
Revista Magazin istoric - Nr\. 11 \(164\) 1980\.pdf|Revista Magazin istoric - Nr\. 26 \(4\) 1990\.pdf|Revista Magazin istoric - Nr\. 198 \(32\) 1991\.pdf
Re: How to find some file, this doesn't work.
Yes, if you want to make absolutely sure that no other files are found.vascaraus wrote: 2022-03-10, 11:14 UTC So I have tu putat the beginning andCode: Select all
^(
at the end of searchCode: Select all
)$
Code: Select all
^(Revista Magazin istoric - Nr\. 11 \(164\) 1980\.pdf|Revista Magazin istoric - Nr\. 26 \(4\) 1990\.pdf|Revista Magazin istoric - Nr\. 198 \(32\) 1991\.pdf)$
In RegEx ^ means the beginning, $ means the end. So in order to match an entire file name you would use:
Code: Select all
^expression$
Code: Select all
^expression1$|^expression2$|^expression3$
Code: Select all
^(expression1|expression2|expression3)$
Re: How to find some file, this doesn't work.
2vascaraus
Of course it's simpler if you don't use RegEx.
When searching without RegEx the whole filename is matched when there is a dot in your expression. So normally you can just add quotes:
Or without spaces in between:
In the rare case that your filename doesn't have a filename extension and has no dots in the name, you must add a dot at the end:
Of course it's simpler if you don't use RegEx.
When searching without RegEx the whole filename is matched when there is a dot in your expression. So normally you can just add quotes:
Code: Select all
"Revista Magazin istoric - Nr. 11 (164) 1980.pdf" "Revista Magazin istoric - Nr. 198 (32) 1991.pdf" "Revista Magazin istoric - Nr. 26 (4) 1990.pdf"
Code: Select all
"Revista Magazin istoric - Nr. 11 (164) 1980.pdf""Revista Magazin istoric - Nr. 198 (32) 1991.pdf""Revista Magazin istoric - Nr. 26 (4) 1990.pdf"
Code: Select all
"File without ext."