Exclude bin files from search doesn't seems to work

Please report only one bug per message!

Moderators: sheep, Hacker, Stefan2, white

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 » 2019-01-18, 10:51 UTC

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: 11402
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

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

Post by *Hacker » 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
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 » 2019-01-18, 15:53 UTC

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: 3483
Joined: 2003-02-06, 17:36 UTC
Location: Germany

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

Post by *Horst.Epp » 2019-05-31, 09:43 UTC

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 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.535)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß9 x64 / x86, Everything 1.4.1.960 (x64)

User avatar
Hacker
Moderator
Moderator
Posts: 11402
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

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

Post by *Hacker » 2019-05-31, 20:40 UTC

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: 3483
Joined: 2003-02-06, 17:36 UTC
Location: Germany

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

Post by *Horst.Epp » 2019-06-01, 08:33 UTC

That link doesn't say anything new and my post is still valid. :D
Grep doesn't know or handle archives.
Windows 10 Home x64 November 2019 Update, Version 1909 (OS Build 18363.535)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.50ß9 x64 / x86, Everything 1.4.1.960 (x64)

User avatar
Hacker
Moderator
Moderator
Posts: 11402
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

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

Post by *Hacker » 2019-06-01, 12:18 UTC

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: 2676
Joined: 2007-09-13, 22:20 UTC
Location: Europa

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

Post by *Stefan2 » 2019-06-01, 14:00 UTC

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.


 
Inofficial FAQs || WIKI (Deu/Eng) || TC Home (What's new? // FAQ // Download // Order // Addons // Tools // Plugins)
Erst wenn der letzte Baum gefällt oder die letzte Biene verendet ist, werden die Leute verstehen warum Umweltschutz wichtig ist.

Post Reply