Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mdls(1) [mojave man page]

MDLS(1) 						    BSD General Commands Manual 						   MDLS(1)

NAME
mdls -- lists the metadata attributes for the specified file SYNOPSIS
mdls [-name attributeName] [-raw [-nullMarker markerString]] file ... DESCRIPTION
The mdls command prints the values of all the metadata attributes associated with the files provided as an argument. The following options are available: -name Print only the matching metadata attribute value. Can be used multiple times. -raw Print raw attribute data in the order that was requested. Fields will be separated with a ASCII NUL character, suitable for piping to xargs(1) -0. -nullMarker Sets a marker string to be used when a requested attribute is null. Only used in -raw mode. Default is "(null)". SEE ALSO
mdfind(1), mdutil(1) xargs(1) Mac OS X June 3, 2004 Mac OS X

Check Out this Related Man Page

mdimport(1)						    BSD General Commands Manual 					       mdimport(1)

NAME
mdimport -- import file hierarchies into the metadata datastore. SYNOPSIS
mdimport [-VXLArgn] [-d level | category] [-w delay] file | directory DESCRIPTION
mdimport is used to test Spotlight plug-ins, list the installed plug-ins and schema, and re-index files handled by a plug-in when a new plug- in is installed. The following options are available: -g plugin Load the plugin at the provided path, ignoring system installed plugins. Useful for testing plugins that have not yet been installed. -V Print timing information for this run of mdimport. -A Print out the list of all of the attributes and their localizations in the current language and exit. -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 Print debugging information. Level can be 1-4. -n Don't actually set the attributes on the file. Useful for debugging. -w msecs Wait for the specified interval between scanning files. NOTES
The -f switch is obsolete in Leopard and beyond. SEE ALSO
mdfind(1), mdutil(1), mdls(1) Mac OS X Oct 27, 2004 Mac OS X
Man Page