1tracker-index(1) User Commands tracker-index(1)
2
3
4
6 tracker-index - List, pause, resume and command data miners indexing
7 content
8
9
11 tracker index --reindex-mime-type <mime1> [[-m [mime2]] ...]
12 tracker index --file <file1> [[file2] ...]
13 tracker index --import <file1> [[file2] ...]
14 tracker index --backup <file> | --restore <file>
15
16
18 This command perform actions on the current index. The "index" holds a
19 snapshot of the working tree in a database.
20
21 The index command allows some level of control on existing data
22 indexed, such as re-indexing content from a specific demographic - e.g.
23 all JPEG images, or simply reindexing an existing or non-existent file.
24
25 It may be a good idea to backup your index before an upgrade in case
26 there is data loss (which should never happen). In those cases, the
27 backup command is made available and of course the restore command will
28 import an older data set (or index) into an empty index.
29
30 Finally, there is an import feature which makes testing or applying a
31 "base" data set for use much easier.
32
33
35 -m, --reindex-mime-type=<mime1> [[-m [mime2]] ...]
36 Re-index files which match the mime type supplied. This is usu‐
37 ally used when installing new extractors which support mime
38 types previously unsupported. This forces Tracker to re-index
39 those files. You can use --reindex-mime-type more than once per
40 mime type.
41
42 -f, --index=<file1> [[file2] ...]
43 (Re)index a file matching the file name(s) supplied.
44
45 -b, --backup=<file>
46 Begins backing up the Tracker databases and save it to the file
47 given.
48
49 -o, --restore=<file>
50 Begins restoring a previous backup from the file which points to
51 the location of the backup generated by --backup.
52
53 i, --import=<file1> [[file2] ...]
54 Allows data to be imported into the index / database by provid‐
55 ing files with Turtle content.
56
57 Multiple file arguments can be provided to import data from mul‐
58 tiple files.
59
60 The file argument can be either a local path or a URI. It also
61 does not have to be an absolute path.
62
63
65 tracker(1). Turtle.
66
67
68
69GNU September 2014 tracker-index(1)