~/Library/Logs MacOS .log files
Project description
Install
$ [sudo] pip install mac-logs
Features
~/Library/Logs
MacOS .log
files
Examples
logs(filenames=None, minsize=0)
- find .log
files
>>> import mac_logs
>>> mac_logs.logs()
>>> mac_logs.logs(filenames=["error.log","err.log","stderr.log"])
>>> mac_logs.logs(minsize=1)
errors()
- find not empty *err*.log
files
>>> mac_logs.errors()
rm(filenames=None, minsize=0)
- remove .log
files
>>> mac_logs.rm()
set Finder tags (red
if err, none
otherwhise)
>>> mac_logs.tag()
$ python -m mac_logs.tag
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
mac-logs-0.0.1.tar.gz
(1.7 kB
view hashes)
Built Distribution
Close
Hashes for mac_logs-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 25b7775998da405cba330944d059c94a49e394981cc9151c9903f2a3ce872749 |
|
MD5 | 230a4d9a3eacb123185215087cd67601 |
|
BLAKE2b-256 | 7b728aa6c5c7fbbfba4bd272c0e0b064fe61dbd2c3f83f7c3d7a89718531ac4f |