Индексируются ли расширенные атрибуты?

226
ele

Могут ли приложения для поиска на рабочем столе, такие как Beagle или Tracker, индексировать расширенные атрибуты, как это делают атрибуты другого файла? Если это так, это означает, что пользователь может определить эти расширенные атрибуты и искать файлы на их основе, верно?

1

1 ответ на вопрос

0
Federico

I think GNOME Activity Journal is able to track extended attributes. I couln't find anything about Tracker, so I made a file and added an attribute to test it:

$ echo "Lorem ipsum sit amet consectetur" > ./x.txt $ setfattr -n user.testing -v "this is a test" x.txt 

Then run tracker-search "this is a test" and you get 0 results. If you run tracker-control -F, this will show you that all process are done indexing your files. Conclusion: it doesn't work on extended file attributes.