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
Digital Autonomy
• Taking Email Back
• How the Fediverse Found Parts for Its Platforms
• The Answer Was Already on the Shelf
• Changing the Chip Industry: How Public Investment Has Grown Open Silicon
• United Nations Open Source Portal Goes Live
• EU Open Source Strategy Plays Key Role in Tech Sovereignty Package
• France Says “Au Revoir” to Microsoft
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
-
CachyOS Solves the Anti-Cheat Problem
If you're a fan of CachyOS and a gamer, you've got more to be thankful for this year.
-
What Does the "K" Stand for in KaOS Linux Now?
KaOS Linux has dropped KDE Plasma, but the name remains the same.
-
System76 Announces the New Thelio Prime Desktop
The makers of the Thelio desktop line and Pop!_OS have released a powerful small form factor PC.
-
A Must See KDE Documentary
It doesn't matter what desktop environment you prefer, this KDE documentary should top your list of things to watch.
-
New KORA Linux Distro to Harness the Power of Local AI
The development team behind CyanogenMod, Android, and Playtron unveils KORA, a Linux distribution built specifically for AI nerds.
-
Epic Games Targets Linux for New Launcher
The Epic Games new launcher is still in preview, but it looks to land on several Linux distributions.
-
Fedora 45 Now Available
The latest iteration of Fedora has arrived with Gnome 51 and KDE Plasma 6.8.
-
Linux 7.4 is "Much Healthier" Thanks to AI
At nearly 42 million lines, Linux 7.4 is the largest merge in the kernel’s history.
-
Working Exploit for a Linux Kernel Flaw Made Public
Even before a bug received its CVE identifier or an upstream fix, the local privilege escalation vulnerability exploit found its way into the wild.
-
r/opensource Bans AI-Assisted and AI-Related Projects
The de facto subreddit for all things open source has not only banned AI-related projects but also users who "don't speak English."
