Re: Dumping COMPLETE slocate (updatedb) database?

From: Alexander Skwar (alexander_at_skwar.name)
Date: 07/10/05


Date: Sun, 10 Jul 2005 10:03:29 +0200


ยท No_One <no_one@no_where.com>:

> On 2005-07-10, Alexander Skwar <alexander@skwar.name> wrote:

>> Is there some way to dump the slocate.db? Or to modify the
>> "locate" binary, so that this check is not done?
>
> if I understand what you want then....
>
> to dump the contents of the db just run
>
> slocate / > somefilename
>
> The forward slash should match all entries in your locate db.

Yep. But it will only print those files, that exist when
slocate is run. IOW: It will not print those files, that
are listed in the database but don't exist anymore.

Alexander Skwar

-- 
Forgive and forget.
                -- Cervantes


Relevant Pages

  • Re: cannot read Bluescreen info
    ... i had a look and i dont see any entries which give me a hint. ... Watson give some hint?. ... But i do not get any memory dump to analyze my ... >> What is wrong or what can i do to analyze the cause of the bluescreen. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Is the a way to print only he auto correct entries that I created.
    ... If someone took the time to install Office on a clean system -- maybe a virtual ... machine -- and use the AutoCorrect template to dump the default set of entries, ... entries from the complete dump. ...
    (microsoft.public.word.docmanagement)
  • Re: newbie:sql trim() in where clause not working
    ... I did a "dump" and have seen that all entries have been spaces. ... Mark D Powell schrieb: ... look up the dump function in the SQL manual and exaimine some of ...
    (comp.databases.oracle.misc)
  • [PATCH 1/1] gitignore: do not ignore include/linux/
    ... Prepend a slash to entries which are toplevel to avoid that ...
    (Linux-Kernel)
  • System.Diagnostics.EventLog Safe Clearing of the logs
    ... Can anyone give me a couple pointers on safely clearing the logs? ... extremely active environment and I am worried that even after I dump all the ... entries a dozen or so new ones will be created before I can call the Clear ... that get created between the time my dump process finishes and the time I ...
    (microsoft.public.dotnet.general)