文件操作 - tracker-statistics.xml
返回文件管理
返回主菜单
删除本文件
文件: /usr/share/tracker/tracker-statistics.xml
编辑文件内容
<?xml version="1.0" encoding="UTF-8"?> <!-- The "id" input parameters can represent, in the case of a file, the full path and name of the file. In other cases, "id" can also be a unique name or URI for the specified service. The "id" field uniquely identifies an entity in Tracker regardless of its service type. The live_query_id parameters in some search and retrieval methods is used to indicate whether the query should be "live". Liveness means the query can receive signals in real time to remove hits that are no longer valid and add new ones that are. These signals are emitted in response to file or volume notifications. A value of -1 should be passed if live query functionality is not desired. A live_query_id can be obtained in the future from the LiveQuery Interface. --> <node name="/"> <interface name="org.freedesktop.Tracker1.Statistics"> <!-- Get statistics for services that have been indexed. Output is in string array format: [service, no of entities] --> <method name="Get"> <annotation name="org.freedesktop.DBus.GLib.Async" value="true"/> <annotation name="com.trolltech.QtDBus.QtTypeName.Out0" value="QVector<QStringList>"/> <arg type="aas" name="service_stats" direction="out" /> </method> </interface> </node>
修改文件时间
将文件时间修改为当前时间的前一年
删除文件