1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

locate

Discussion in 'Suggestions' started by Roedy, Dec 16, 2011.

  1. Roedy

    Joined:
    Jun 8, 2008
    Messages:
    120
    Likes Received:
    2
    I asked earilier in a thread I cannot find suggesting TCC needed something like LOCATE as part of a revamped CDD and DESCRIBE.

    How do you search a database of filenames quickly given a regex or wildcard. The UNIX people do it.

    The source code is posted at

    https://fedorahosted.org/mlocate/browser/src
     
  2. samintz

    samintz Scott Mintz

    Joined:
    May 20, 2008
    Messages:
    1,188
    Likes Received:
    11
    Have you looked at Everything Search from Void Tools? I created a plugin based on the ES command line tool.

    ES [switches] searchstring
    -r Search the database using a basic POSIX regular expression.
    -i Does a case sensitive search.
    -w Does a whole word search.
    -p Does a full path search.
    -h --help Display this help.
    -n <num> Limit the amount of results shown to <num>.
    -s Sort by full path.

    http://www.voidtools.com/
     

Share This Page