Searching in multiple EPUB files does not work

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
joker
Junior Member
Junior Member
Posts: 26
Joined: 2006-04-05, 10:42 UTC

Searching in multiple EPUB files does not work

Post by *joker »

  • Go to a folder with at least 1 EPUB file, but do NOT go into that file.
  • Set "Search for" to *.epub or empty it.
  • Search for text.
-> Nothing is found.

This is a bug, because if Total Commander searches the contents of the defined file types anyway, it could simultaneously search for an archive header, go into that archive and search it.
At the moment you have to search the files themselves one by one to search for text.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6429
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Searching in multiple EPUB files does not work

Post by *Horst.Epp »

No, this is not a bug
It works fine here.
You need to enable the Office option in the search screen.
Also you should have epub in the list of
SearchInFiles=*.epub
in your wincmd.ini.
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
joker
Junior Member
Junior Member
Posts: 26
Joined: 2006-04-05, 10:42 UTC

Re: Searching in multiple EPUB files does not work

Post by *joker »

Yes, but the result is not the same as with ZIP files, for example, where all files found inside the archives are displayed.
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: Searching in multiple EPUB files does not work

Post by *Usher »

2joker
You have two DIFFERENT options for searching text in epub files, using DIFFERENT settings and obviously getting DIFFERENT results. Note those DIFFERENT settings for "Search archives" and "Office xml + epub" in both cases:

1. Work with epub as with any zip archive. In this case you have to add SearchInFiles=*.epub to [Configuration] section in your wincmd.ini.

Code: Select all

Search for [*.epub       ]
[v] Search archives
[v] Find text [type your text here    ]
     [v] UTF-8
     [ ] Office xml + epub
Using this method you will get a list of files inside any epub archive as a result.

2. Work with epub as xml compound document. In this case you have to install some epub viewer/reader to verify results, for example slister plugin for TC and SumatraPDF reader.

Code: Select all

Search for [*.epub      ]
[ ] Search archives
[v] Find text [type your text here    ]
     [v] UTF-8
     [v] Office xml + epub
Using this method you will get a list od epub documents as a result.

Once again - if you use different search methods, you should expect different results.
Andrzej P. Wozniak
Polish subforum moderator
Post Reply