Re: [Tracker] Tags, metadata and date fields



Ivan Frade <ivan frade-Re5JQEeQqe8AvxtiuMwx3w public gmane org> writes:
Hi,

However, I wasn't really able to find any information on how to get the
metadata into my index in the first place. Could you give me some
information where to start? Do I move the documents into a
tracker-watched folder and manually modify the database after the
documents have been indexed? Or do I explicitly ask tracker to add a
specific file with specific metadata to the index? Or do I add the
metadata as extended attributes of the file and put it in a watched
folder? Or something else entirely?


 Check ~/.config/tracker/tracker-miner-fs.cfg file to know/configure what
directories is tracker watching. Either you move your files to any of those
locations, or you add your documents path there.

 Wait for tracker to index that folder (tracker-status should show the
progress), and then run a query with:
[..]

That seems a little bit cumbersome to me. So my "Add to Archive" script
would have to move the file into the watcher directory, and then poll
tracker until the file has been indexed? Isn't there a way to instruct
tracker to "index this file and block until your're done"?


Best,

   -Nikolaus

-- 
 ÂTime flies like an arrow, fruit flies like a Banana.Â

  PGP fingerprint: 5B93 61F8 4EA2 E279 ABF6  02CF A9AD B7F8 AE4E 425C



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