Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to find out, when a recoll-index was last updated?

share|improve this question
up vote 3 down vote accepted

Since it stores the indexes under $HOME/.recoll/xapiandb I would simply find the newest file under there:

find ~/.recoll/xapiandb -type f -printf '%T@\t%T+\n' \
| sort -nr | head -n 1 | cut -f2

This prints out all files with their epoch time and human-readable time, then sorts it so the newest is at the top and then prints only the human readable time of the first one. Adjust the printf format according to what output you need.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.