A package to investigate a directory for cleanup
Project description
file_investigation
To identify files to cleanup a directory as per user's input
Input: a directory to be recursively searched Output: a csv report of files for deletion (category, full path to file).
This will include: identifying duplicate files, files which have not been accessed in over X days, files which are over Y bytes in size, directories containing large numbers of files, identifying uncompressed files.
usage: FileChecker.py [-h] [--dirname DIRNAME] [--days DAYS] [--size SIZE] [--filelimit FILELIMIT]
optional arguments: -h, --help show this help message and exit --dirname DIRNAME Please enter directory name --days DAYS Number of days last accessed --size SIZE File size in kilobytes --filelimit FILELIMIT specify number of files above which a directory is bigDir
Example: python3 FileChecker.py --dirname data --days 0 --size 450 --filelimit 4
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
Built Distribution
Hashes for FileChecker-purnimapachori-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3dd8ad45f82a04f2e9b0035dc8e360230e001a335c3c388d9d938362198b9c3 |
|
MD5 | 233e7b257158ffd700e41b3bde09153d |
|
BLAKE2b-256 | 401356aac000f8680cf2c21afc6ec85a0b8170e7efed7dda37b6981c4710aeda |
Hashes for FileChecker_purnimapachori-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a14ad7634db151c57b8fb7c739b2505a5eaacb973c5ee492e0f39d9ce4e9a820 |
|
MD5 | 0102c1dba4d886702aa587c24bb64cc9 |
|
BLAKE2b-256 | 31ed3e3c820d25e24ba09381ad2b194fe5cc84a5f67b411e0b460434666d96dc |