You are not logged in.
Pages: 1
I am looking for a good tool for finding files in my system.
I use find command but it does not show the progress of find. Presently which folder it is searching so that I can wait. It remains blank till it finds a file.
Offline
Presently which folder it is searching so that I can wait.
I don't understand this sentence.
Offline
I think he meant, "Present which folder ..."
Personally, I don't use find except for scripts that need to walk the file tree. Instead, I use locate and it is much faster. The wiki should have a guide on setting some variant of it up.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Just use locate , it does the job fast and it shows everything related with your search word .
Offline
sant527 wrote:Presently which folder it is searching so that I can wait.
I don't understand this sentence.
I mean in windows you can see the search tools is scanning throught the folders. But here can a see some verbose to know the scanning process of search
Offline
Do this every once in a while.
# updatedb
So this works.
locate <pattern>
The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.
Offline
What's the difference between locate and slocate though?
Offline
They are the same thing. Locate used to be less secure, so they made slocate. Then they just remove the locate program, and symbolically linked them for backwards compatibility.
The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.
Offline
Just keep in mind that locate/slocate is only as accurate as your last DB update.
Offline
Is there a GTK GUI for locate?
Offline
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
can any one give some examples of locate command for the following instances
1) I want to locate files only in a particular directory. Since locate will show all the instances
Offline
You could pipe the output of 'locate' to 'grep':
locate opera.desktop | grep /home/deej/
...this would find 'opera.desktop' in /home/deej/ + sub-directories.
But if you only want to look in a certain directory, just use 'find'.
Deej
[EDIT]
Forgot the progress-bar part
You might take a look at 'clpbar' in AUR. The problem with progress bars
is they have to know how much data they are working with, so that's an
extra calculation to do before the 'find' command. Unless you just want
a 'spinner' to look at
Last edited by deej (2009-11-23 19:25:43)
Offline
locate /home/deej*/opera.desktop
Search without globbing characters is actually *pattern*
Offline
Pages: 1