Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: find command, trouble with find command< Next Oldest | Next Newest >
shamit Offline





Group: Members
Posts: 2
Joined: July 2007
Posted: Oct. 16 2007,17:30 QUOTE

Sorry for digging up this old port, but issue that I am facing is related.

I am not able to perform case-insensitive search with find command.

For example:

find /mnt/hda1 -name FileName -print

works fine. But

find /mnt/hda1 -iname FileName -print

Does not. Is there  way to upgrade "find" binary?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 16 2007,19:54 QUOTE

It's not a binary, just a small applet included in busybox. The real find is included in the gnu-utils mydsl extension. If you don't want to load all the full programs, you can extract only "find" from gnu-utils.dsl..

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Oct. 16 2007,19:56 QUOTE

The find command in DSL is part of Busybox, so it is not full-featured. The GNU version of find is in the findutils.uci mydsl extension, in the "UCI" section.

Since it installs to /opt you'll need to add it to your PATH variable unless you use the full path to the executable or an alias. Note that symlinking the file into /opt/bin won't work in this case, since /opt/bin is at the end of PATH.

EDIT: ..or install gnu-utils =o)


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Oct. 16 2007,20:55 QUOTE

Heh, beat ya :P

--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Oct. 17 2007,04:24 QUOTE

With unc's available, it makes sense to put gnu-utils in the mydsl folder.....  (almost said "startup" folder.....)
Back to top
Profile PM 
10 replies since Sep. 15 2007,10:15 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: find command

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code