LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 03:30 PM   #1
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Rep: Reputation: Disabled
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, 09: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, 01:10 PM   #3
newbiesforever
Senior Member
 
Registered: Apr 2006
Location: Iowa
Distribution: Debian distro family
Posts: 2,373

Original Poster
Rep: Reputation: Disabled
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, 02:22 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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, 09:06 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
I forgot this

'find . -iname "*file*"

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


Reply



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 05:57 PM
Finding files and then finding content within those files... Maeltor Linux - Software 5 03-13-2007 12:06 PM
Apache 'disble Index of files' lhrt Linux - Software 1 06-28-2006 01:57 AM
How can konqueror view html files in .gz & .bz2 files directly? ailinzhe Linux - Software 5 05-24-2004 08:36 AM
Apache Index Files mastahnke Linux - General 7 03-20-2002 11:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:34 AM.

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
Open Source Consulting | Domain Registration