Hallo, dies ist ein Test.
PWD: /www/data-lst1/unixsoft/unixsoft/kaempfer/.public_html
Running in File Mode
Relative path: ./../../../../../../usr/man/man1/mdfind.1
Real path: /usr/share/man/man1/mdfind.1
Zurück
'\" te '\" t .\" Title: mdfind .\" Author: [see the "AUTHOR" section] .\" Generator: DocBook XSL Stylesheets v1.75.2 <http://docbook.sf.net/> .\" Date: 09/26/2023 .\" Manual: User Commands .\" Source: Samba 4.13.17 .\" Language: English .\" .TH "MDFIND" 1 "09/26/2023" "Samba 4\&.13\&.17" "User Commands" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" mdfind \- Run Spotlight searches against an SMB server .SH "SYNOPSIS" .HP \w'\ 'u mvxattr {server} {sharename} {query} [\-p,\ \-\-path] [\-L,\ \-\-live] .SH "DESCRIPTION" .PP This tool is part of the \fBsamba\fR(1) suite\&. .PP mdfind is a simple utility to run Spotlight searches against an SMB server that runs the Spotlight \fImdssvc\fR RPC service\&. .SH "OPTIONS" .PP server .RS 4 The SMB server name or IP address to connect to\&. .RE .PP sharename .RS 4 The name of a share on the server\&. .RE .PP query .RS 4 The query expression syntax is a simplified form of filename globbing familiar to shell users\&. Queries have the following format: .sp attribute=="value" .sp For queries against a Samba server with Spotlight enabled using the Elasticsearch backend, the list of supported metadata attributes is given by the JSON attribute mapping file, typically installed at /usr/share/samba/mdssvc/elasticsearch_mappings\&.json .RE .PP \-p PATH, \-\-path=PATH .RS 4 Server side path to search, defaults to \fI"/"\fR .RE .PP \-L, \-\-live .RS 4 Query remains running\&. .RE .SH "EXAMPLES" .PP Search all indexed metadata attributes, exact match: .sp .if n \{\ .RS 4 .\} .nf \'*=="Samba"\' .fi .if n \{\ .RE .\} .PP Search all indexed metadata attributes, prefix match: .sp .if n \{\ .RS 4 .\} .nf \'*=="Samba*"\' .fi .if n \{\ .RE .\} .PP Search by filename: .sp .if n \{\ .RS 4 .\} .nf \'kMDItemFSName=="Samba*"\' .fi .if n \{\ .RE .\} .PP Search by date: .sp .if n \{\ .RS 4 .\} .nf \'kMDItemFSContentChangeDate<$time\&.iso(2018\-10\-01T10:00:00Z)\' .fi .if n \{\ .RE .\} .PP Search files\'s content: .sp .if n \{\ .RS 4 .\} .nf \'kMDItemTextContent=="Samba*"\' .fi .if n \{\ .RE .\} .PP Expressions: .sp .if n \{\ .RS 4 .\} .nf kMDItemFSName=="Samba*"||kMDItemTextContent=="Tango*"\' .fi .if n \{\ .RE .\} .\" Oracle has added the ARC stability level to this manual page .SH ATTRIBUTES See .BR attributes (7) for descriptions of the following attributes: .sp .TS box; cbp-1 | cbp-1 l | l . ATTRIBUTE TYPE ATTRIBUTE VALUE = Availability service/network/samba = Stability Volatile .TE .PP .SH "SEE ALSO" .PP File Metadata Search Programming Guide https://developer\&.apple\&.com/library/archive/documentation/Carbon/Conceptual/SpotlightQuery/Concepts/Introduction\&.html .SH "VERSION" .PP This man page is part of version 4\&.13\&.17 of the Samba suite\&. .SH "AUTHOR" .PP The original Samba software and related utilities were created by Andrew Tridgell\&. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed\&. .PP The mdfind manpage was written by Ralph Boehme\&. .SH NOTES .\" Oracle has added source availability information to this manual page Source code for open source software components in Oracle Solaris can be found at https://www.oracle.com/downloads/opensource/solaris-source-code-downloads.html. This software was built from source available at https://github.com/oracle/solaris-userland. The original community source was downloaded from https://download.samba.org/pub/samba/stable/samba-4.13.17.tar.gz. Further information about this software can be found on the open source community website at http://www.samba.org/.