Find files fast using locate
Moderators: Hacker, petermad, Stefan2, white
Find files fast using locate
There is one tool that I use very often on Linux and that I find handy which is a command line called locate (locate allows to search the system using an indexed database of files updated by a daily cron job) and I was wondering if someone knows something "similar" which could have a good integration with TC (plugin? or external tool).
Now I use Google Desktop Search but I would like something less cumbersome and I am also a bit concerned about privacy...
Thanks
Now I use Google Desktop Search but I would like something less cumbersome and I am also a bit concerned about privacy...
Thanks
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
GNU stuff is available on Windows, too:
http://gnuwin32.sourceforge.net/
"locate" is in package http://gnuwin32.sourceforge.net/packages/findutils.htm.
Icfu
http://gnuwin32.sourceforge.net/
"locate" is in package http://gnuwin32.sourceforge.net/packages/findutils.htm.
Icfu
This account is for sale
Thanks Icfu but the problem with this package findutils is that you also need to install a Unix shell to use it (eg Cygwin -> bash) this is due to updatedb which is a shell script.
So I searched for an alternative on google and I found this nice tool that do nearly what I wanted Wilbur (Wilbur is a Windows utility which indexes the files on your disk and can then quickly find files based on a variety of criteria including content.)
The next step will be to try to redirect the output of this tool to TC ideally in the search result panel of the search command [alt + F7] or eventualy in the current dir panel but I have no idea if this is possible, if someone has any clues how to do that I will be interested.
PS The output of Wilbur can be copy to clipboard cf example below (2 files) :
hes_review_cern_indico.doc 1 doc c:\Documents and Settings\Administrator\Desktop\Indico\ jeu. janv. 20, 2005 94208 a W2000
indico_validation_report.doc 1 doc c:\Documents and Settings\Administrator\Desktop\Indico\ jeu. janv. 20, 2005 68608 a W2000
So I searched for an alternative on google and I found this nice tool that do nearly what I wanted Wilbur (Wilbur is a Windows utility which indexes the files on your disk and can then quickly find files based on a variety of criteria including content.)
The next step will be to try to redirect the output of this tool to TC ideally in the search result panel of the search command [alt + F7] or eventualy in the current dir panel but I have no idea if this is possible, if someone has any clues how to do that I will be interested.
PS The output of Wilbur can be copy to clipboard cf example below (2 files) :
hes_review_cern_indico.doc 1 doc c:\Documents and Settings\Administrator\Desktop\Indico\ jeu. janv. 20, 2005 94208 a W2000
indico_validation_report.doc 1 doc c:\Documents and Settings\Administrator\Desktop\Indico\ jeu. janv. 20, 2005 68608 a W2000
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
2Icfu
But anyway I prefer the wilbur solution, do you know if what I suggest is possible?
Have a nice week-end
If you are interested here is the reason why you need cygwin but I guess it is only specific to this package http://sourceforge.net/forum/forum.php?thread_id=1271298&forum_id=74807icfu wrote:You don't need Cygwin, all those commandline tools are Windows PORTS that only depend on some dlls which are installed automatically with the setuparchive. If you prefer manual installation they can be download separately, too.
Icfu
But anyway I prefer the wilbur solution, do you know if what I suggest is possible?
gbo wrote:The next step will be to try to redirect the output of this tool to TC ideally in the search result panel of the search command [alt + F7] or eventualy in the current dir panel but I have no idea if this is possible, if someone has any clues how to do that I will be interested.
PS The output of Wilbur can be copy to clipboard cf example below (2 files) :
hes_review_cern_indico.doc 1 doc c:\Documents and Settings\Administrator\Desktop\Indico\ jeu. janv. 20, 2005 94208 a W2000
indico_validation_report.doc 1 doc c:\Documents and Settings\Administrator\Desktop\Indico\ jeu. janv. 20, 2005 68608 a W2000
Have a nice week-end
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
You mean for virtual folders?
The best is http://www.totalcmd.net/plugring/FileRedirector.html I'd say.
But, on the contrary it misses parsing features for dirlist, .m3u files, etc... like http://www.totalcmd.net/plugring/temporarypanel.html has.
There is another one, TempDrive, see this thread for some comparison:
http://www.ghisler.ch/board/viewtopic.php?t=1822
File Redirector wasn't available at that time.
Icfu
The best is http://www.totalcmd.net/plugring/FileRedirector.html I'd say.
But, on the contrary it misses parsing features for dirlist, .m3u files, etc... like http://www.totalcmd.net/plugring/temporarypanel.html has.
There is another one, TempDrive, see this thread for some comparison:
http://www.ghisler.ch/board/viewtopic.php?t=1822
File Redirector wasn't available at that time.
Icfu
This account is for sale
Re: Find files fast using locate
There is a nice free Windows implementation of Locategbo wrote:There is one tool that I use very often on Linux and that I find handy which is a command line called locate (locate allows to search the system using an indexed database of files updated by a daily cron job) and I was wondering if someone knows something "similar" which could have a good integration with TC (plugin? or external tool).
Now I use Google Desktop Search but I would like something less cumbersome and I am also a bit concerned about privacy...
Thanks
http://www.uku.fi/~jmhuttun/english/softwares.shtml
It does not need any Unix DLLs or anything special.
You can even tell the program to open TotalCommander for folders !
Re: Find files fast using locate
Yes, great tool! Thanks.Horst.Epp wrote: There is a nice free Windows implementation of Locate
http://www.uku.fi/~jmhuttun/english/softwares.shtml
It does not need any Unix DLLs or anything special.
How can you do that ? (I use ver 3.0 beta 5.1230)Horst.Epp wrote: You can even tell the program to open TotalCommander for folders !
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Re: Find files fast using locate
Options, Settings, Advanced, Use other program to open foldersgbo wrote:Yes, great tool! Thanks.Horst.Epp wrote: There is a nice free Windows implementation of Locate
http://www.uku.fi/~jmhuttun/english/softwares.shtml
It does not need any Unix DLLs or anything special.
How can you do that ? (I use ver 3.0 beta 5.1230)Horst.Epp wrote: You can even tell the program to open TotalCommander for folders !
c:\your_path\totalcmd.exe /o %d
Re: Find files fast using locate
Thanks, it works (right click on the file's name and choose Open containing folder -> it will activate already running Total Commander and set the left path to %d)Horst.Epp wrote: Options, Settings, Advanced, Use other program to open folders
c:\your_path\totalcmd.exe /o %d
I noticed that it works only for short paths (>30 char) but when I do that with long path it doesn't work (it only select the drive at root), do you have the same behaviour on your machine?
Do you know if it is possible to assign a shortcut to the command Open containing folder?
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Re: Find files fast using locate
I found how to solve this problem, infact it was not due to long paths but to paths with blank space in them (ex: C:\Documents and Settings\Administrator\My Documents\Letters to Mr. Smith).gbo wrote: I noticed that it works only for short paths (<30 char) but when I do that with long path it doesn't work (it only select the drive at root), do you have the same behaviour on your machine?
The solution was simply to add double quotes around %d
c:\your_path\totalcmd.exe /o "%d"
HTH
Gil
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Licence #17346
90% of coding is debugging. The other 10% is writing bugs.
Re: Find files fast using locate
gbo wrote:There are many options but unfortunately, no shortcuts.Horst.Epp wrote: ...
Do you know if it is possible to assign a shortcut to the command Open containing folder?
But at least the "Open Containing Folder" is on the top of the context menu.
I gave Janne Huttunen's Locate a try and I like it too: nice tool!
But I wonder, what the advantages of Locate compared to DiskDirExtended packer plugin are:
)
Thanks in advance for any explanation!
But I wonder, what the advantages of Locate compared to DiskDirExtended packer plugin are:
- Database update for local drives is fast with Loacate, but it isn't for network resources.
Creation of a fresh DiskDirExtended archive ist fast for local drives, but takes a long time for network drives too. - DiskDirExtended handles files in archives, while Locate doesn't.
- DiskDirExtended is due to its "nature" better integrated in TC, while Locate is an external tool.

Thanks in advance for any explanation!