Skip to main content

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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for FileChecker-purnimapachori, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size FileChecker_purnimapachori-0.0.1-py3-none-any.whl (2.6 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size FileChecker-purnimapachori-0.0.1.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page