mdfind
A python library that wraps the mdfind.
- No dependencies except ones that in the python standart library
- Mypy checked
✨ - Fully tested
Installation
$ pip install mdfind-wrapper
Usage
import mdfind # not mdfind-wrapper
QUERY = "kind:image"
images = mdfind.query(QUERY)
n_imgs = mdfind.count(QUERY)