mdfind wrapper
Project description
Install
$ [sudo] pip install mdfind
Examples
mdfind(args)
>>> import mdfind
>>> mdfind.mdfind(['-count','-onlyin','/usr','kMDItemContentType==public.shell-script'])
42
name(name)
- mdfind -name name ...
>>> mdfind.name(name='Downloads')
query(query)
- mdfind query
>>> mdfind.query('kMDItemContentType==public.shell-script')
count
- mdfind -count ...
>>> mdfind.count(query='kMDItemContentType==public.mp3')
42
>>> mdfind.count(name="Downloads")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdfind-0.0.0.tar.gz
(1.4 kB
view hashes)
Built Distribution
Close
Hashes for mdfind-0.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0e3db8a6a4d54a06028f1dc01e670e27fa385c8cc5fe6db290994b46e572ec8 |
|
MD5 | e187a0c086d5f4ff813822aa2a0ccd8f |
|
BLAKE2b-256 | 250e1cccad1f8475e0b49b40f692325cfadc202bb55ac3029cd2afafc8c75d7f |