Searching Inside Documents with DocFetcher
Productivity Sauce
There are plenty of tools that you can use to find a specific file or document by its name on your local hard disk or remote share. But what if you need to find a document containing a word or text fragment? Enter DocFetcher, a graphical desktop search application that can search inside documents. It supports a wide range of popular document formats, including Microsoft Office, HTML, PDF, RTF, plain text, and OpenOffice.org. If you are running Ubuntu, you can install DocFetcher using its .deb package. For other Linux distributions, you can download an archived version of the application, unpack it, and launch DocFetcher using the DocFetcher.sh script.
Before you can put DocFetcher to use, you have to index the directory containing documents. To do this, right-click on the Search Scope pane and choose Create Index. Select the desired directory, and wait till DocFetcher finishes the indexing operation. You can then search through the indexed documents by specifying the search term you want in the Search field and pressing Enter. DocFetcher returns a list of matching documents sorted by relevance. Select the document you want, and you can see its content with highlighted occurrences of the search string in the Preview pane. Use the Next and Previous buttons to quickly jump to the previous or next occurrence of the search string. Besides simple searches, you can use a variety of supported parameters. For example, to include or exclude a search term you can use the plus (+) and minus (-) operators. You can also use wild cards and limit searches to specific file extensions.
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.