List all tags. Results include the number of files associated with
that tag and the tags unique identifier. You can show the files
associated with each tag by using --show-files.
The TAG arguments are optional. If no TAG argument is specified, all tags are listed. If one or more TAGs are given, either matching tags are listed (OR condition). For example, this will match any tags named either foo, bar or baz:
$ tracker-tag -t foo bar baz
|Show the files associated with each tag. This option is ONLY available WITH the --list option.|
|Add a tag with the name TAG. If no FILE arguments are specified, the tag is simply created (if it didntalready exist) and no files are associated with it. Multiple FILE arguments can be specified.|
|Delete a tag with the name TAG. If no FILE arguments are specified, the tag is deleted for ALL files. If FILE arguments are specified, only those files have the TAG deleted.|
|This option ONLY applies when using --add and provides a description to go with the tag label according to STRING.|
|Limit search to N results. The default is 512.|
|Offset the search results by N. For example, start at item number 10 in the results. The default is 0.|
Use AND operator for search terms instead of OR (the default). For
$ tracker-tag -s -t sliff sloff
Should show files in the database that have both the sliff and sloff tags.
TRACKER_SPARQL_BACKEND This option allows you to choose which backend you use for connecting to the database. This choice can limit your functionality. There are three settings.
With "direct" the connection to the database is made directly to the file itself on the disk, there is no intermediary daemon or process. The "direct" approach is purely read-only.
With "bus" the tracker-store process is used to liase with the database queuing all requests and managing the connections via an IPC / D-Bus. This adds a small overhead BUT this is the only approach you can use if you want to write to the database.
With "auto" the backend is decided for you, much like it would be if this environment variable was undefined.
TRACKER_PRAGMAS_FILE Tracker has a fixed set of PRAGMA settings for creating its SQLite connection. With this environment variable pointing to a text file you can override these settings. The file is a \n separated list of SQLite queries to execute on any newly created SQLite connection in tracker-store.
|GNU||TRACKER-TAG (1)||July 2009|