LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Mobile (https://www.linuxquestions.org/questions/linux-mobile-81/)
-   -   Instant offline google-like search on all text files (https://www.linuxquestions.org/questions/linux-mobile-81/instant-offline-google-like-search-on-all-text-files-4175603827/)

Ulysses_ 04-14-2017 06:59 AM

Instant offline google-like search on all text files
 
What is the best way to do an instant offline google-like search on all text files on android?

It must show a single file multiple times if the search term appears in the file multiple times.

Ideally it would show results tightly, as many instances as possible on a small display, just like Visual Studio does on desktops.

ondoho 04-14-2017 12:07 PM

maybe something here.
i found aGrep which seems to at least partly answer your question.

Ulysses_ 04-14-2017 02:24 PM

Is there an android emulation that runs under linux or windows so you can test-drive all these apps before taking risks on your actual smartphone?

ondoho 04-15-2017 12:51 AM

yes, several solutions exist for that, but they're pretty hard to set up (at least on linux. windows, couldn't say).

you can always do a factory reset on your actual phone.

i take it your phone isn't even rooted?
you might want to search the actual google play store for file search utilities, but i have a nagging suspicion that 99% of all android users wouldn't even know what to do with sth like that, which means that there's little incentive for app developers.
android DOES have a terminal running bash, maybe you can just use 'find'.


All times are GMT -5. The time now is 08:39 AM.