Skip to main content

Directory tree audit tool

Project description

dir-audit

Project Python Versions License
Quality Issues
Tools pre-commit Poetry
Community Maintenance Stars Forks Contributors Commit activity

Directory tree audit tool

Setup

install with pip

pip install dir-audit

or with Poetry

poetry add dir-audit

Usage

get help

poetry run python dir_audit --help
usage: dir-audit [-h] [-v] {make,check} ...

Audit directory tree structure

positional arguments:
  {make,check}   Audit command
    make         Make directory tree
    check        Check directory tree

options:
  -h, --help     show this help message and exit
  -v, --version  Get dir-audit version

NOTE: make command is still work in progress.

check for empty directories

poetry run python dir_audit check --empty /path/to/your/directory

check for files and directories that contain substring (i.e.: admin)

poetry run python dir_audit check --contains admin /path/to/your/directory

print full directory tree

poetry run python dir_audit check --full /path/to/your/directory

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

dir_audit-0.3.2.tar.gz (15.0 kB view hashes)

Uploaded Source

Built Distribution

dir_audit-0.3.2-py3-none-any.whl (16.1 kB view hashes)

Uploaded Python 3

Supported by

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