Find Doesn't Find! (won't recognize some directories)

Please post any bugs you have found
Post Reply
Message
Author
User avatar
Dougal
Posts: 2502
Joined: Wed 19 Oct 2005, 13:06
Location: Hell more grotesque than any medieval woodcut

Find Doesn't Find! (won't recognize some directories)

#1 Post by Dougal »

I've been experiencing some problems using the "find" command.

It doesn't seem to recognize the contents of some directories, in my case some of the subdirectories of /usr/lib.

Is it me? Am I doing something wrong? Going crazy?? I'm using Puppy 2.0.0, btw.

Some examples:

Code: Select all

sh-3.00# find /usr/lib -name "gtk+.pc"
/usr/lib/pkgconfig/gtk+.pc
This worked, where the pkgconfig directory is part of the devx addon (pup_ro3).

Code: Select all

sh-3.00# find /usr/lib -name "convert.m4"
This didn't work, where convert.m4 is in the /usr/lib/gtkmm-2.4/proc/m4 directory, also part of the devx addon...

Code: Select all

sh-3.00# find /usr/lib -name "tkv.tcl"
/usr/lib/Img1.2/tkv.tcl
Worked, /usr/lib/img1.2 is part of pup_ro2

Code: Select all

sh-3.00# find /usr/lib -name "uri.tcl"
This didn't work, the file actually exists in the /usr/lib/uri/ directory, which is part of the Puppy base files (pup_ro2).

I found that running something like:

Code: Select all

sh-3.00# find /usr/lib ! -name "mut.tcl"|more
Shows just what "find" does recognize in /usr/lib... which includes the "problematic" directories but not their contents...

So I tried searching for one of them directories as a directory:

Code: Select all

sh-3.00# find /usr -type d -name "perl5"
/usr/lib/perl5

Worked. Now for one of it's subdirectories:

Code: Select all

sh-3.00# find /usr -type d -name "5.8.0"
No...

Has anyone got any idea what this might be about??
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind

User avatar
fluxit
Posts: 326
Joined: Sat 24 Jun 2006, 04:14
Location: Ketchikan, AK USA

#2 Post by fluxit »

No, but I have found that Gtkfind, which worked well in 1.09CE, doesn't work in 2.01 for me. It doesn't seem to recurse directories properly. :?

--Lee

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#3 Post by GuestToo »

try the -noleaf option ... but it will run slower

Post Reply