Bug 102751

Summary: Enable search for content in archives such as zip, tar archives etc.
Product: [Applications] kfind Reporter: Carsten Klein <carstenklein>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: wishlist CC: bob53181
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: RedHat Enterprise Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Carsten Klein 2005-03-29 16:35:45 UTC
Version:            (using KDE KDE 3.3.0)
Installed from:    RedHat RPMs
OS:                Linux

Consider OpenOffice documents.
These are stored within zip archives.

However, it is seemingly not possible to search for a string in an archive beyond the simple filename of a file contained within that archive, i.e. the content of the file itself is not searched at all.

Please do implement this feature and we could overcome G**GLES or anybody elses desktop search products, in order to  keep our system safe and free from any spying ware.

Thanks and Best Regards,

Carsten
Comment 1 Carsten Klein 2005-03-29 16:39:25 UTC
Some comments on the proposed solution:

a) make this a clickable option, i.e. Also search contents of archives...
instead of making this the standard, as it is quite time-consuming.

b) store the user-selection of whether or not she wishes to commit the search on also the archive contents in the corresponding configuration file.

c) link the search results to the corresponding file inside the archive, possibly adding other optional options to the context menu of the search result, i.e. open archive, show archive where the file is located in etc.

Well, that would be it.
Comment 2 Christian Loose 2005-03-30 10:49:38 UTC
Looking at http://webcvs.kde.org/kdebase/kfind/kquery.cpp?rev=1.40, at least the KDE 3.4 version of KFind seems to provide the feature to search inside OASIS/OpenOffice documents.
Comment 3 Carsten Klein 2005-04-18 18:27:34 UTC
Great, how about extending this feature to all available file types that could be found within archives like for example binary data?

I have not checked the 3.4 release yet, since this would mean a major overhaul (and tear-down) of an otherwise working system. Looking out for stable Fedora Core 4 then...
Comment 4 bob53181 2014-07-09 14:30:29 UTC
I cannot find an option in KFind to search inside archive contents. I tried providing an archive as the location to search but it returned an error. This could be implemented using deepfind. Currently I have to use a script with
find $1 -name "$2" | xargs -I {} deepfind {} | grep $3