A command line library for file monitoring.
Project description
filestat A command line library for file monitoring.
- Authors:
Alif Jahan
- Version:
0.2 of 05/05/2019
installation
Using pip
$ pip install filestat
To install using git just clone the repo
$ git clone https://github.com/zxalif/filestat.git
$ cd filestat
$ python3 setup.py install
Usages
There is two way to access filestat with command line or with python interpreter.
using bash
$ python3 -m filestat -f filename.py
Name: filename.py
Owner: alif
Group: alif
Size: 1045 bytes
Update Time: Sunday, May 05, 2019 10:50:11.640795 PM
Last Access: Sunday, May 05, 2019 10:50:15.200863 PM
Permissions: 644
Using interpreter
>>> # to get file size
>>> from filestat import utils
>>> utils.get_size('path/to/file.py') # it returns the file size in byte
123121
>>>
License
The program under Licensed MIT.
Documentations are under develop
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
filestat-0.2.3.tar.gz
(3.4 kB
view hashes)