Results 1 to 9 of 9

Thread: Searching files and files contents - no luck yet

  1. #1
    Join Date
    Jun 2009
    Beans
    9

    Searching files and files contents - no luck yet

    Ok. I have dozens of .odt and thousands of .docx, .slxs. etc.

    Basically I use Ubuntu (*11.10 now) and for starter, the Unity Search Files and Folders is a failure. Do not even find files by name part. Nautilus Search seems to find those at least.

    But it's critical for many users like me to be able to search documents contents. I have found that scream for help in many places googling about that issue, but no successful stories, except for Google Desktop for one guy somewhere.

    Google Desktop was half working for the last two Ubuntu releases. Now they closed the project "because everybody is clouding their data".

    Last time I tried Beagle, it did nothing for me on Nathy, neither Tracker was a successful tool for the job.

    I ran into DocFetcher, but haven't tried that yet (any suggestions are highly appreciated).

  2. #2
    Join Date
    Oct 2011
    Location
    Ohio, USA
    Beans
    443
    Distro
    Ubuntu

    Re: Searching files and files contents - no luck yet

    I am with you ElQanah. In unity I am unable to get a single match even with "*.*". NOTHING shows up. I know I have around 1200 pictures (JPGs) and no search parameters can find them - even though they are in my Pictures folder.

    Basically, I am not able to find any of my files and have not found a single "file manager" that works properly.

    Any help out there?

    Bill

  3. #3
    Join Date
    Dec 2009
    Beans
    121
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Searching files and files contents - no luck yet

    Quote Originally Posted by ElQanah View Post
    I have dozens of .odt and thousands of .docx, .slxs. etc.
    I switched from Google Desktop to recoll. It is very powerful. It can do complex queries, restrict search to filetypes, and it can even do stuff like search within zipped PDF attachmments to emails, which Google Desktop couldn't do. It doesn't do real time indexing by default, although it has that capability too. You'd have to tell it to update the index or setup a cron job (recoll documentation explains all that).

  4. #4
    WasMeHere is offline Iced Almond Soy Ubuntu, No Foam
    Join Date
    May 2008
    Location
    Sverige
    Beans
    1,133

    Re: Searching files and files contents - no luck yet

    I had not heard of recoll, it makes me interested

    Don't forget that there are powerful command line tools to run from a terminal window: try the following commands to learn about find and grep.
    Code:
    info find
    info grep
    Having fun finding out about Ubuntu
    Olle

  5. #5
    Join Date
    Apr 2007
    Location
    New Hampshire
    Beans
    96
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Searching files and files contents - no luck yet

    Beagle used to be pretty good, if hard on your system resources.

    It's not graphical, but I find 'locate' quite effective to find files or directories.

    Go to Terminal and update your database:
    sudo updatedb

    Once updated, search for file:
    locate -i [search term]
    The "-i" eliminates case sensitivity in the search.

    To find terms within a file, use:
    grep [search term] *

    *= wildcard - I believe you should be able to substitute the * with a filename to narrow the search.

    There a ton of ways to narrow a search, so check out "man locate" or "man grep" in terminal.... and good luck.
    Gigabyte GA-M57SLI-S4; AMD X2 5600+; 4GB Mushkin Enhanced DDR2 800; Seagate 250GB 7200.10 (SATA);
    ASUS DVD-E616A3T (SATA); Samsung SH-S182M (PATA); EVGA GT 220 (all work ootb)

  6. #6
    Join Date
    Dec 2009
    Beans
    121
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Searching files and files contents - no luck yet

    Quote Originally Posted by Olle Wiklund View Post
    I had not heard of recoll, it makes me interested

    Don't forget that there are powerful command line tools to run from a terminal window: try the following commands to learn about find and grep.
    Code:
    info find
    info grep
    Having fun finding out about Ubuntu
    Olle
    These are good for simple tasks, within a small number of files. Some advantages of recoll are instantaneous search, search for content other than simple text (sure, one can feed grep the output of something like pdftotext, but it quickly gets complicated), and ability to click on results to open in an application.

    Another thing it is good at is "stemming", and not only in English. For example, in addition to English stemming I have set it up to return results for inflected/derived forms of Russian words and recoll does this job very well.
    For a fresher version of recoll than that in repos,
    Code:
    sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on

  7. #7
    Join Date
    Apr 2007
    Location
    New Hampshire
    Beans
    96
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Searching files and files contents - no luck yet

    Quote Originally Posted by DZ* View Post
    These are good for simple tasks, within a small number of files. Some advantages of recoll are instantaneous search, search for content other than simple text (sure, one can feed grep the output of something like pdftotext, but it quickly gets complicated), and ability to click on results to open in an application.

    Another thing it is good at is "stemming", and not only in English. For example, in addition to English stemming I have set it up to return results for inflected/derived forms of Russian words and recoll does this job very well.
    For a fresher version of recoll than that in repos,
    Code:
    sudo add-apt-repository ppa:recoll-backports/recoll-1.15-on

    DZ - sounds good. I think I'll take a look at recoll too. Thanks.
    Gigabyte GA-M57SLI-S4; AMD X2 5600+; 4GB Mushkin Enhanced DDR2 800; Seagate 250GB 7200.10 (SATA);
    ASUS DVD-E616A3T (SATA); Samsung SH-S182M (PATA); EVGA GT 220 (all work ootb)

  8. #8
    Join Date
    Jun 2009
    Beans
    9

    Re: Searching files and files contents - no luck yet

    Quote Originally Posted by DZ* View Post
    I switched from Google Desktop to recoll. It is very powerful. It can do complex queries, restrict search to filetypes, and it can even do stuff like search within zipped PDF attachmments to emails, which Google Desktop couldn't do. It doesn't do real time indexing by default, although it has that capability too. You'd have to tell it to update the index or setup a cron job (recoll documentation explains all that).
    Thank you for your recommendation. I installed recoll and it's quite impressive. Definitively the way to go, best option so far, fast and reliable. Better of what I expected.

    Now that's linux working well!

  9. #9
    Join Date
    Sep 2010
    Beans
    42

    Re: Searching files and files contents - no luck yet

    Docfetcher works great for me. Sure works better than "Search for Files..." which only finds half what it should.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •