mdimport(1) BSD General Commands Manual mdimport(1)
NAME
mdimport -- import file hierarchies into the metadata datastore.
SYNOPSIS
mdimport [-VfXLr] [-d level category] [-w delay] file directory
DESCRIPTION
mdimport can be used to import metadata from files or file system hierar-
chies.
The following options are available:
-V Print timing information for this run of mdimport.
-A Print out the list of all of the attributes and their local-
izations in the current language and exit.
-f Force mdimport to scan the files, bypassing path filtering
rules.
-X Print the schema file and exit
-r Ask the server to reimport files for UTIs claimed by the
listed plugin. For example, the following would cause all of
the chat files on the system to be reimported:
mdimport -r /System/Library/Spotlight/Chat.mdimporter
-p Print out performance information gathered during the run.
-L Print the list of installed importers and exit.
-d level category
Print debugging information. Level can be 1-4, available
categories are import-terse, import-input, import-output,
import-warnings, import-verbose, and plugin-loading. This
flag can be specified multiple times, and is always additive.
-n Don't actually set the attributes on the file. Useful for
debugging.
-w msecs Wait for the specified interval between scanning files.
SEE ALSO
mdcheckschema(1), mdfind(1), mdutil(1), mdls(1)
Mac OS X Oct 27, 2004 Mac OS X
|