Metadata-Version: 2.1
Name: mdfind
Version: 2020.7.1
Summary: mdfind wrapper
Home-page: https://github.com/andrewp-as-is/mdfind.py
License: Unlicense
Description: <!--
        https://readme42.com
        -->
        
        
        [![](https://img.shields.io/pypi/v/mdfind.svg?maxAge=3600)](https://pypi.org/project/mdfind/)
        [![](https://img.shields.io/badge/License-Unlicense-blue.svg?longCache=True)](https://unlicense.org/)
        
        ### Installation
        ```bash
        $ [sudo] pip install mdfind
        ```
        
        #### Examples
        ```python
        >>> import mdfind
        >>> mdfind.name('Group Containers')
        ['/Users/username/Library/Group Containers']
        ```
        
        ```python
        >>> mdfind.query('kMDItemContentType==public.shell-script')
        [...]
        ```
        
        ```python
        >>> mdfind.count(query='kMDItemContentType==public.mp3')
        42
        >>> mdfind.count(name='Group Containers')
        1
        ```
        
        ```python
        >>> mdfind.mdfind(['-count','-onlyin','/usr','kMDItemContentType==public.shell-script'])
        42
        ```
        
        #### Links
        +   [File Metadata Query Expression Syntax](https://developer.apple.com/library/archive/documentation/Carbon/Conceptual/SpotlightQuery/Concepts/QueryFormat.html)
        
        <p align="center">
            <a href="https://readme42.com/">readme42.com</a>
        </p>
Keywords: mdfind
Platform: UNKNOWN
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
