Searching Inside Documents with DocFetcher
![Dmitri Popov Dmitri Popov](/var/linux_magazin/storage/images/online/blogs/productivity-sauce/275404-17-eng-US/Productivity-Sauce.png)
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.
![Learn More](https://www.linux-magazine.com/var/linux_magazin/storage/images/media/linux-magazine-eng-us/images/misc/learn-more/834592-1-eng-US/Learn-More_medium.png)
News
-
Canonical Offers 12-Year LTS for Open Source Docker Images
Canonical is expanding its LTS offering to reach beyond the DEB packages with a new distro-less Docker image.
-
Plasma Desktop 6.1 Released with Several Enhancements
If you're a fan of Plasma Desktop, you should be excited about this new point release.
-
SUSE Offers CentOS 7 Support with Liberty Linux Lite
SUSE's Liberty Linux support offering now includes CentOS 7, which means businesses won't be forced to migrate those servers for some time.
-
Ubuntu's App Center Finally Supports Local Installs Again
If you regularly download .deb files and would prefer a GUI method of installing, Ubuntu has your back.
-
AlmaLinux Now Supports Raspberry Pi 5
If you're looking to create with the Raspberry Pi 5 and want to use AlmaLinux as your OS, you're in luck because it's now possible.
-
Kubuntu Focus Releases New Iterations of Ir14 and Ir16 Laptops
If you're a fan of the Kubuntu Focus laptops or have been waiting for the right time to purchase one, that time might be now.
-
NixOS 24.05 Is Ready for Prime Time
The latest release of NixOS (Uakari) has arrived and offers its usual reproducible, declarative, and reliable goodness.
-
Linux Lite 7.0 Officially Released
Based on Ubuntu 24.04 and kernel 6.8, Linux Lite version 7 now offers more options than ever.
-
KaOS Linux 2024.05 Adds Bcachfs Support and More
With updates all around, KaOS Linux now includes support for the bcachefs file system.
-
TUXEDO Computers Unveils New Iteration of the Stellaris Laptop Line
The Stellaris Slim 15 is the 6th generation and includes either an AMD or Intel CPU