[Novalug] should be easy...

Jay Hart jhart at kevla.org
Mon Nov 9 16:34:07 EST 2009


Nino,

Dang straight it helps...

Jay

> On Sun, 8 Nov 2009, Nino Pereira wrote:
>
>> All,
>>
>> I can't seem to find the options on 'find' to give
>> me the full path to a file. In my home directory I use
>>
>> find -name '*part-of-filename-I-remember*'
>>
>> and I get
>>
>> ./the-right-filename-I-was-looking-for
>>
>> but not the directory it's in.
>>
>> Please enlighten me.
>>
>> Thank you,
>>
>> Nino
>
>
> I use locate which on my system gives full paths.
>
> One has to build the database with:
>
> sudo updatedb -U /
>
> which will build a database of all files from root down
>
> then - without sudo
>
> locate part-of-file-name
>
> will give you everything with that string in it so i usually do
>
> locate part-of-file-name |less
>
>
> does this help
>
>
>> _______________________________________________
>> Novalug mailing list
>> Novalug at calypso.tux.org
>> http://calypso.tux.org/mailman/listinfo/novalug
>>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>                         Bonnie Dalzell, MA
> mail:5100 Hydes Rd PO Box 60, Hydes,MD,USA 21082-0060|EMAIL:bdalzell at qis.net
> Freelance anatomist, vertebrate paleontologist, writer, illustrator, dog
> breeder, computer nerd & iconoclast... Borzoi info at www.borzois.com.
> HOME www.batw.net    ART bdalzellart.batw.net  BUSINESS
> www.boardingatwedge.com
>
> _______________________________________________
> Novalug mailing list
> Novalug at calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
>





More information about the Novalug mailing list