Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

How to make recoll program to show files with specific extension (for example, *.cpp, *.txt, etc)?

share|improve this question
    
Hmmm....I don't understand your question. –  mdpc Jan 2 '13 at 20:20
1  
@mdpc I'm not sure which part; he wants to do a text search with recoll, but only return files with the extensions he specifies –  Michael Mrozek Jan 2 '13 at 20:36
    
maybe I don't remember seeing a 'recoll' command in UNIX/Linux (thought it might be a mispelling).... –  mdpc Jan 2 '13 at 20:44
    
@MichaelMrozek You are right. I meant exactly what you have said. –  ASten Jan 2 '13 at 20:57
    
Found solution here: link –  ASten Jan 2 '13 at 21:44

1 Answer 1

up vote 0 down vote accepted

The solution is to use "query language" in recoll request. After choosing that it is possible to make request in which file extension is specified. For example, query include ext:cpp will show *.cpp files. Source: http://www.lesbonscomptes.com/recoll/usermanual/rcl.search.lang.html.

share|improve this answer
    
lesbonscomptes.com/recoll/usermanual/usermanual.html (updated URL). Also I think just "recollq ext:cpp" works, no need for "include"? –  barrycarter Apr 18 at 17:34
    
@barrycarter Sorry, can't check it. I haven't used recoll for an year at least. –  ASten Apr 24 at 7:40

Your Answer

 
discard

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.