new feature: locate-like search

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
dagoon
Junior Member
Junior Member
Posts: 9
Joined: 2003-07-02, 00:23 UTC
Location: Poland
Contact:

new feature: locate-like search

Post by *dagoon »

Hi

One of most used feature of tc is file-search. I think that
it could include optional search mode that would
be similar to the one unix/linux locate does.

For those who don't know locate. It creates a database
of all files in system and when you choose to search for file
it doesn't walk through filesystem but searches the
database. It's much faster (but requires database
updates, usually scheduled to happen once a day
at night).

It's somewhat similar to Commands/CD Tree option
existing in tc - it keeps the directory database in
TREEINFO.WC files and uses them for searching.

What do you think about it?
I'd love it :)
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

nice idea. A system service could do this job.
miskox
Member
Member
Posts: 191
Joined: 2003-06-11, 06:00 UTC

Post by *miskox »

What if you search for a file which is not cataloged yet? Should TC do the 'classis' search?

Bye,
MiskoX
User avatar
norfie
Power Member
Power Member
Posts: 1194
Joined: 2003-02-18, 14:18 UTC

Post by *norfie »

Last edited by norfie on 2004-09-10, 20:47 UTC, edited 1 time in total.
User avatar
fabiochelly
Power Member
Power Member
Posts: 603
Joined: 2003-02-05, 12:03 UTC
Location: Rambouillet, France

Post by *fabiochelly »

it doesn't walk through filesystem but searches the database
I think that Windows stores already those informations since windows 2000 in specific files.
That's why default windows search is faster.
I think it would be great if TC would be able to use this information instead of create its own database.

see http://www.windows-help.net/WindowsXP/tune-18.html
Fabio Chelly.
#60241
Lorsqu'on s'occupe d'informatique il faut faire comme les canards...
Paraître calme en surface et pédaler comme un forcené par en dessous
User avatar
dagoon
Junior Member
Junior Member
Posts: 9
Joined: 2003-07-02, 00:23 UTC
Location: Poland
Contact:

Post by *dagoon »

1. Using diskdir is not really fun because you can't limit the search to
certain directory (eg. search only in e:\mp3 instead of whole e:\ OR search all drives - not only e:\)

2. Using native win2000 service is not fun because:
- it works only in 2000/xp
- it's not easily configurable (eg. it prepares the indexes when
windows want to, not when YOU want to - so - you can notice unexpectable
system slow-downs/lock-ups)

3. own service would fit better I guess :)

Now waiting for mr Ghisler's opinion :)

regards
mg
jjk
Member
Member
Posts: 181
Joined: 2003-07-03, 10:41 UTC

Post by *jjk »

Something like Filetracer (www.filetracer.com) ? A shareware I registered in 2002 and I use everyday.

Jean-Jacques
User avatar
dagoon
Junior Member
Junior Member
Posts: 9
Joined: 2003-07-02, 00:23 UTC
Location: Poland
Contact:

Post by *dagoon »

jjk wrote:Something like Filetracer (www.filetracer.com) ? A shareware I registered in 2002 and I use everyday.
FileTracer seems to be interesting tool but - it cannot be easily integrated
with tc.

I'm also afaraid if it doesn't have the disadventages of windows built in fast-search - because the home page says "FileTracer updates its catalog in real time" = it slows down file creation/deletion (I might be wrong but it sounds like it).

regards
mg
User avatar
Maxwish
Senior Member
Senior Member
Posts: 370
Joined: 2003-02-05, 19:13 UTC
Location: .NL

Post by *Maxwish »

Dagoon, stop jumping about....your driving me crazy.... :roll:
:lol: :lol: :lol:
...BRB...
jjk
Member
Member
Posts: 181
Joined: 2003-07-03, 10:41 UTC

Post by *jjk »

To Dagoon

"FileTracer updates its catalog in real time" : yes, but most of time it's imperceptible. Try FileTracer : it is a 30-day shareware which works fine after 30 days with some functionalities disabled.

Not integratble with TC but very useful


Jean-Jacques
BritTim
Junior Member
Junior Member
Posts: 5
Joined: 2003-06-30, 16:36 UTC

Sorry to resurrect an old thread ...

Post by *BritTim »

... but my question seems relevant. I just want to clarify what I think I understand from the earlier posts. When you do a search of a complete directory tree (including in archives) there is no way of then saving the search results, right? What would be great is if we could do something like copy all the results to a file and/or the clipboard.

I know some kind of complex solution involving getting listings of each archive individually and combining that with the regular result tree would be possible. It is a pity, though, that TC can produce exactly what I want but does not allow me to save that information.
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Re: Sorry to resurrect an old thread ...

Post by *Lefteous »

BritTim wrote:... but my question seems relevant. I just want to clarify what I think I understand from the earlier posts. When you do a search of a complete directory tree (including in archives) there is no way of then saving the search results, right? What would be great is if we could do something like copy all the results to a file and/or the clipboard.

I know some kind of complex solution involving getting listings of each archive individually and combining that with the regular result tree would be possible. It is a pity, though, that TC can produce exactly what I want but does not allow me to save that information.
use CatalogMaker or DiskDir packer plugin plugin to "compress" the search result to a textfile.
BritTim
Junior Member
Junior Member
Posts: 5
Joined: 2003-06-30, 16:36 UTC

Post by *BritTim »

Lefteous wrote
use CatalogMaker or DiskDir packer plugin plugin to "compress" the search result to a textfile.
Thank you for your response. Yes, I am familiar with using a plugin to list the contents of a single archive. I have approximately 50 archives that I want to integrate with the rest of the information in the directory tree. Admittedly, 50 is not that many and I could accomplish this manually. It is a hassle and less easy to maintain than if I could save the results of "Find Files".

Does anyone have a script that automates this kind of task?
User avatar
Lefteous
Power Member
Power Member
Posts: 9536
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

BritTim wrote:Lefteous wrote
use CatalogMaker or DiskDir packer plugin plugin to "compress" the search result to a textfile.
Thank you for your response. Yes, I am familiar with using a plugin to list the contents of a single archive. I have approximately 50 archives that I want to integrate with the rest of the information in the directory tree. Admittedly, 50 is not that many and I could accomplish this manually. It is a hassle and less easy to maintain than if I could save the results of "Find Files".

Does anyone have a script that automates this kind of task?
sorry, I misunderstood
problem is "feed to listbox" is disabled when searching in archives...
BritTim
Junior Member
Junior Member
Posts: 5
Joined: 2003-06-30, 16:36 UTC

Post by *BritTim »

Sorry everyone

Normally I am very careful to try everything reasonable before posting a question about a software product, but I messed up this time. I can only claim inexperience with TC as a partial excuse.

I had assumed that, because Ctrl-A did not cause all search results to be highlighted, that Ctrl-C would not copy the results to the clipboard. This assumption is incorrect. A few comments
  • It is important to click in the search results before using Ctrl-C;

    I think it would be good to add a line on this capability to the TC Find Files help page;

    With a large results list, copying to the clipboard was very time consuming: more than an hour for about 250,000 files in 9,000 directories -- the CPU was pegged at 100% (on a P4 2.4Ghz under Win/XP) and RAM used by TC went up to about 100Meg.
Post Reply