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


Download files

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

Source Distribution

FileChecker-purnimapachori-0.0.1.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

FileChecker_purnimapachori-0.0.1-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file FileChecker-purnimapachori-0.0.1.tar.gz.

File metadata

  • Download URL: FileChecker-purnimapachori-0.0.1.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for FileChecker-purnimapachori-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f3dd8ad45f82a04f2e9b0035dc8e360230e001a335c3c388d9d938362198b9c3
MD5 233e7b257158ffd700e41b3bde09153d
BLAKE2b-256 401356aac000f8680cf2c21afc6ec85a0b8170e7efed7dda37b6981c4710aeda

See more details on using hashes here.

File details

Details for the file FileChecker_purnimapachori-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: FileChecker_purnimapachori-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5

File hashes

Hashes for FileChecker_purnimapachori-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a14ad7634db151c57b8fb7c739b2505a5eaacb973c5ee492e0f39d9ce4e9a820
MD5 0102c1dba4d886702aa587c24bb64cc9
BLAKE2b-256 31ed3e3c820d25e24ba09381ad2b194fe5cc84a5f67b411e0b460434666d96dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page