Menu

How to run updatedb?

Help
2005-04-21
2012-07-26
  • Nobody/Anonymous

    Hello,
    I downloaded findutils 4.2.20-1 from http://gnuwin32.sourceforge.net/packages/findutils.htm and found that updatdb seems to be a script of some kind. How do I run it so that I can use the locate command? The section of documentation "invoking updatedb" just shows what options the updatedb script has and doesn't say anything about how to run it.

    StephenC.
    stephenatcascodotnet

     
    • GnuWin

      GnuWin - 2005-04-22

      Updateb is a shell script, which needs a Unix shell to run. Such shells (Bash, Ksh or Csh) are available from Cygwin (http://www.cygwin.com/), Djgpp (http://www.delorie.com/djgpp/), Uwin (http://www.research.att.com/sw/tools/uwin/), and SFU (http://www.microsoft.com/windows/sfu/).
      Alternatively, one may translate the script into MS-Windows batch or script language.

       
      • Keith Marshall

        Keith Marshall - 2005-04-22

        You forgot to mention MSYS (http://www.mingw.org), which is a lightweight (smaller download) spin off from Cygwin

         
MongoDB Logo MongoDB