LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 03-16-2009, 04:30 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,886

Rep: Reputation: 62
when finding files in Konqueror, why use the files index?


When I use the "Find File" function in Konqueror, it never displays the files it finds. All it does is list the number of files and folders, at the bottom of the window. The kind of search I've been doing is for a *.* containing certain words. Well, I just solved my problem: the answer is that "use files index" wasn't checked by default, and apparently must be.
Okay, but if Konqueror has to use the files index, why do I have the option of telling it not to? When would it not be counterproductive, as in this situation?
 
Old 03-18-2009, 10:38 AM   #2
Spudley
Member
 
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
I dunno.... I've never used the "Use files index" option... honestly, I hadn't even noticed it was there until you pointed it out.

From what I can gather, this checkbox is used if you want to do a large search for something across the whole system -- ie you don't know where a particular file is located. It seems to make the search use the the shell "locate" command rather than the "find" command that is used if you don't have it ticked. (nb: this is just what I'm inferring having looked into it for a few minutes; anyone who knows better is free to correct me! ;-) )

So, if the search isn't working without "use files index" ticked, then I'd say that either (a) you're doing a very large search and it's just taking a very long time, and you're not being patient enough, or (b) the "find" command in your computer isn't working correctly, but "locate" is. I would guess at (a), but you can check for (b) by going to a shell prompt and typing "find", and seeing what comes up.


One thing I would say, though, is use * as your wildcard, not *.* -- unlike Windows, not all files have a dot in their name.

Cheers!


SDC.
 
Old 03-18-2009, 02:10 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Glendale, AZ
Distribution: Distro-homeless. Lost.
Posts: 1,886

Original Poster
Rep: Reputation: 62
Quote:
Originally Posted by Spudley View Post
I dunno.... I've never used the "Use files index" option... honestly, I hadn't even noticed it was there until you pointed it out.

One thing I would say, though, is use * as your wildcard, not *.* -- unlike Windows, not all files have a dot in their name.
Thanks, I hadn't thought of that.
 
Old 03-19-2009, 03:22 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662
And the find command will always be faster,
so I never use the KDE tool.
Examples :
' find /usr/lib/ -name "*file*" '
or ' find . -name "*file*" '
where the dot ( . ) means the current directory, e.g. /home/"username"
......
 
Old 03-20-2009, 10:06 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,272

Rep: Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662Reputation: 2662
I forgot this

'find . -iname "*file*"

-iname is important > > both 'upper case' and
'lower case' spelled words will be found.
......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Remove index files in Legato Koven Solaris / OpenSolaris 1 04-18-2008 06:57 PM
Finding files and then finding content within those files... Maeltor Linux - Software 5 03-13-2007 01:06 PM
Apache 'disble Index of files' lhrt Linux - Software 1 06-28-2006 02:57 AM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 09:36 AM
Apache Index Files mastahnke Linux - General 7 03-21-2002 12:16 AM


All times are GMT -5. The time now is 05:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration