Exclude bin files from search doesn't seems to work

Please report only one bug per message!

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
Cirunz
Junior Member
Junior Member
Posts: 2
Joined: 2019-01-18, 10:44 UTC

Exclude bin files from search doesn't seems to work

Post by *Cirunz »

Hi, I'm trying to search in a folder for a text inside all files but .bin
Searching online I found that I should indicate the exclusion this way:

Code: Select all

*.*|*.bin
But even using this search text, it keeps searching in bin files:
Image: https://i.imgur.com/6r87CZc.png

I tried with this terms:

Code: Select all

*.*|*.bin
*.* | *.bin
*.*!*.bin
*.* ! *.bin
It doesn't work. I tried to exclude another type of file with

Code: Select all

*.*|*.txt
and it did work: total commander searched in all files but txt ones
It seems to have a problem only with bin files in particular.

Am I doing this wrong?

Thanks
Hi there, I'm almost always not here
User avatar
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Exclude bin files from search doesn't seems to work

Post by *Hacker »

Cirunz,
You have a packer plugin installed which treats .bin files as archives so TC tries to open them and look for the text inside the files stored in the .bin archive. IIRC some ISO plugin treated .bin files as archives, so either you remove that association from the plugin or you disable searching in archives for this search.

HTH
Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Cirunz
Junior Member
Junior Member
Posts: 2
Joined: 2019-01-18, 10:44 UTC

Re: Exclude bin files from search doesn't seems to work

Post by *Cirunz »

Hacker wrote: 2019-01-18, 12:16 UTC Cirunz,
You have a packer plugin installed which treats .bin files as archives so TC tries to open them and look for the text inside the files stored in the .bin archive. IIRC some ISO plugin treated .bin files as archives, so either you remove that association from the plugin or you disable searching in archives for this search.

HTH
Roman
Oh right sometimes they are used this way. I didn't need to search into archives for this, so I disabled the options and it worked.

Thank you very much!
Hi there, I'm almost always not here
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Exclude bin files from search doesn't seems to work

Post by *Horst.Epp »

Savage296 wrote: 2019-05-31, 09:37 UTC I cannot think of a scenario where I would care about matches in binary files. If such a scenario exists, surely it must be the exception rather than the norm. Why doesn't grep ignore binary files by default rather than requiring setting this flag to do so?
Because Grep doesn't know anything about archives
but TC is a file manager which sometimes may encounter .bin named archives.
Whats your problem with setting the option or remove the association from a plugin ?
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
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
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Exclude bin files from search doesn't seems to work

Post by *Hacker »

Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Exclude bin files from search doesn't seems to work

Post by *Horst.Epp »

That link doesn't say anything new and my post is still valid. :D
Grep doesn't know or handle archives.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3296)
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
Hacker
Moderator
Moderator
Posts: 13040
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: Exclude bin files from search doesn't seems to work

Post by *Hacker »

Horst.Epp,
It says the user you were responding to was a spambot.

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
Stefan2
Power Member
Power Member
Posts: 4124
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: Exclude bin files from search doesn't seems to work

Post by *Stefan2 »

Horst.Epp wrote: 2019-06-01, 08:33 UTC
That link doesn't say anything new ...


Read the first sentence there: "I cannot think of a scenario where...."


Good find, Roman.


 
Post Reply