Question

I'm using the tracker indexing tool to search for and in files on my Ubuntu 10.10 amd64 system. Having recently added some of files into a single folder I wondered how to force tracker to re-index this folder so I would be able to perform search-queries on these files.

Any ideas? A terminal command would be completely sufficient.

Was it helpful?

Solution

This command will make Tracker reindex all its folders:

tracker-processes -r

Not exactly what you want, but has helped me quite a few times.

OTHER TIPS

tracker should watch the directory and automatically index any added files - so make sure watching is enabled in the preferences. but generally, my experience with tracker has been that it works inconsistently at best.

With recent releases of tracker (mine is 1.12.0), you can force the re-indexing of a given folder simply typing:

tracker reset -f DIR_NAME

This causes the indexed information for DIR_NAME to be deleted and indexed again. Ir could be a directory or a file.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top