Re: [Tracker] New command line tool tracker-files



On Wed, 02 Aug 2006 16:22:15 +0100
Jamie McCracken <jamiemcc blueyonder co uk> wrote:

I have added another command line tool "tracker-files" to cvs

This can be used to retrieve all files of a service type or a mime
type.

EG to return all files in service music:
tracker-files -s music

to return all jpg files:
tracker-files -m image/jpeg


Hi,
it is working just great here, thank you for your hard work on
this.
I have a small problem again :) could the dbus-interface be started a
little bit earlier, from I could gather from fast skimming the source,
probably this is the culprit:
        /* periodically poll directories for changes */ 
        g_timeout_add_full (G_PRIORITY_LOW, 
                            FILE_POLL_PERIOD,
                            (GSourceFunc) start_poll,    
                            NULL, NULL
                           );



        loop = g_main_loop_new (NULL, TRUE);

        main_connection = tracker_dbus_init ();

The problem I have is that I've added not only my home, but also some
external dirs, although my home directory alone would give also a hard
time to tracker - it depletes all the inotify watches and begins
polling, with the current setup with more than 7800 polls over the
watches (but it will be not that different with only my home), so the
real problem is that it needs quite a lot of time to begin
responding to the dbus requests.

Cheers 
Gergan 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]