Re: How to use 'updatedb' and 'locate' on a second partition…

Kezdőlap
Csatolmányok:
Üzenet email-ben
+ (text/plain)
Üzenet törlése
Válasz az üzenetre
Szerző: Josef Lowder
Dátum:  
Címzett: Main PLUG discussion list
Tárgy: Re: How to use 'updatedb' and 'locate' on a second partition?
On Fri, 15 Sep 2006, Edward Norton wrote
> On 9/14/06, Josef Lowder wrote:
> > Is it possible (I assume it is) and how would it be done (what syntax)
> > to use 'updatedb' to build a separate list of files on a second (or
> > third) partition so files could be searched for on those partitions?
>
> slocate -U /mnt/partition -o /path/to/new/db
> Then to search that partition, `slocate -d /path/to/new/database searchstring`


Thanks very much Edward!

It's so impressive when things like this can be accomplished with
such a simple, efficient command-string. GUI will never equal it.

Joe


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss