Monday, April 29, 2024
 Popular · Latest · Hot · Upcoming
5
rated 0 times [  5] [ 0]  / answers: 1 / hits: 2089  / 1 Year ago, tue, may 2, 2023, 2:52:50

I have a folder with subfolders in it and many libreoffice documents (.odt).



I need to find in which one there's a particular phrase.



I tried grep -ir "search phrase here" . but it only found the search phrase in an xml file.



Is there a way to search in documents that are not plain text files?


More From » libreoffice

 Answers
1

Finally, I resolved to using Recoll. It does a good job at finding information in files. Indexing is however slow and takes a lot of resources. This is not a problem if you do not run Recoll as a daemon, but only update the index manually when you're not using the computer.


To install it:


sudo apt install recoll

[#30656] Wednesday, May 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
taigysel

Total Points: 33
Total Questions: 136
Total Answers: 114

Location: Singapore
Member since Wed, Jan 13, 2021
3 Years ago
;