O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

mdimport

Synopsis

mdimport [options] file
                     |
                     directory

Imports metadata from files or filesystem hierarchies.

Options

-A

Prints a list of all attributes currently supported and exits.

-d level | category

Specifies debug level and categories. Valid levels are 1–4, and category can be import-terse, import-input, import-output, import-warnings, import-verbose, or plugin-loading. This option can be repeated.

-f

Force the files to be scanned, ignoring the rules for path filtering.

-I

Ignore Finder comments.

-L

Prints a list of all importers and exits.

-n

Don't actually set attributes on the file.

-p

Print performance information for the run. Seems to be identical to -V.

-r importer

Reimport the files previously imported by importer.

-V

Print timing information for the run. Seems to be identical to -p.

-w msecs

Wait for msecs milliseconds between scanning files.

-x

Print the schema file, then exit.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required