RECOLL
Search desktop file contents instantly
Super-sleuth Nick Peers reveals how to find any file by searching its contents as well as filenames with the help of Recoll.
OUR EXPERT
Nick Peers wishes he could plug Recoll into his own brain. His ageing synapses aren’t what they once were. Sorry, what was the question again?
QUICK TIP Take thetime to readthrough Recoll’scomprehensivedocumentationat www.lesbonscomptes.com/recoll/usermanual/webhelp/docs/where you’llfind detailedsections oninstallation andconfiguration,indexing, searchsyntax and evenhelp on writingyour ownplugin APIs
CS ometimes, it can seem like finding a file is like looking for a needle in a haystack. Your desktop’s own search tools are fine when you know the name (or part of the name) of the file you’re looking for, but what if you can’t remember the file’s name (never mind where it might reside), but do remember some of its content?
The solution lies with Recoll (www. lesbonscomptes.com/recoll). This clever tool enables you to search the contents of files as well as their names, making it easy to track down documents containing specific keywords. It works by using several third-party tools to comb through specific filetypes, creating an index of their text-based content. When you need to find something, Recoll lets you search this index rather than the files themselves, which takes seconds rather than minutes.
The index is updated in real time or at scheduled intervals, so any changes (as well as new files) are recorded in the index to ensure your searches remain accurate and based on up-to-date information.
Installation
A complete install of Recoll comprises several packages. Recoll itself can be installed as a commandline app (see the Access Through A Browser box over the page), or – as we’re doing here – as a desktop app.
Recoll exists in the default Ubuntu repositories, but to ensure you have the latest version, Ubuntu (and Mint) users should install it through its own repository: $ sudo add-apt-repository ppa:recoll-backports/recoll- 1.15-on $ sudo apt-get update $ sudo apt install recoll
Instructions for other systems, including Debian and Raspbian, can be found at www.lesbonscomptes.com/ recoll/pages/download.html where you’ll find details of dedicated repos for specific builds.
Add filetypes
The first time you run Recoll, you’re told that no index file exists – this is where Recoll stores the results of its file content searches. Before going further, it’s worth clarifying how this works.