MDFIND - Online Linux Manual PageSection : 1
Updated : 04/07/2021
Source : Samba 4​.14​.2
Note : User Commands

NAMEmdfind − Run Spotlight searches against an SMB server

SYNOPSISmvxattr {server} {sharename} {query} [−p, −−path] [−L, −−live]

DESCRIPTIONThis tool is part of the samba(1) suite​. mdfind is a simple utility to run Spotlight searches against an SMB server that runs the Spotlight mdssvc RPC service​.

OPTIONSserver The SMB server name or IP address to connect to​. sharename The name of a share on the server​. query The query expression syntax is a simplified form of filename globbing familiar to shell users​. Queries have the following format: attribute=="value" 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 −p PATH, −−path=PATH Server side path to search, defaults to "/" −L, −−live Query remains running​.

EXAMPLESSearch all indexed metadata attributes, exact match: '*=="Samba"' Search all indexed metadata attributes, prefix match: '*=="Samba*"' Search by filename: 'kMDItemFSName=="Samba*"' Search by date: 'kMDItemFSContentChangeDate<$time​.iso(2018−10−01T10:00:00Z)' Search files's content: 'kMDItemTextContent=="Samba*"' Expressions: kMDItemFSName=="Samba*"||kMDItemTextContent=="Tango*"'

SEE ALSOFile Metadata Search Programming Guide https://developer​.apple​.com/library/archive/documentation/Carbon/Conceptual/SpotlightQuery/Concepts/Introduction​.html

VERSIONThis man page is part of version 4​.14​.2 of the Samba suite​.

AUTHORThe 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​. The mdfind manpage was written by Ralph Boehme​.
0
Johanes Gumabo
Data Size   :   9,098 byte
man-mdfind.1Build   :   2024-12-29, 07:25   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 260,670
Visitor ID   :     :  
Visitor IP   :   3.139.72.210   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.29
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.