Re: what files does beagle index?



On Wed, 2006-07-12 at 18:36 -0700, D Bera wrote:
> 
> Try
> $ gnome-vfs-info (or some variant of it) /path/to/file

$ gnomevfs-info .icq.old/history/6000006.db
MIME type         : application/octet-stream

:-(

$ beagle-extract-content .icq.old/history/6000006.db
Filename: file:///home/brian/.icq.old/history/6000006.db
Debug: Loaded 47 filters from /usr/lib/beagle/Filters/Filters.dll
Debug: No filter for /home/brian/.icq.old/history/6000006.db ()
No filter for

Neither know as much as file:

$ file .icq.old/history/6000006.db
.icq.old/history/6000006.db: GNU dbm 1.x or ndbm database, little endian

Unfortunately.

Oh well, better than nothing.  :-)

> Or even better,
> try
> $ beagle-extract-content /path/to/file
> It will tell you what mimetype beagle thinks.

$ beagle-extract-content .icq.old/history/6000006.db
Filename: file:///home/brian/.icq.old/history/6000006.db
Debug: Loaded 47 filters from /usr/lib/beagle/Filters/Filters.dll
Debug: No filter for /home/brian/.icq.old/history/6000006.db ()
No filter for

> beagle-extract-content
> will return you the same metadata and data that beagle extracts from a
> file. So, if there is no filter it will say "no filter found" o/w it
> will list the words found. After you write an external filter, you can
> use beagle-extract-content to test the filter.

Awesome!  All very helpful!

> Once you are done with testing, you have to put it in the right place
> and (I think) restart beagle.

Thanx!

b.

-- 
My other computer is your Microsoft Windows server.

Brian J. Murrell

Attachment: signature.asc
Description: This is a digitally signed message part



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