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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file dir_audit-0.3.2.tar.gz.

File metadata

  • Download URL: dir_audit-0.3.2.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dir_audit-0.3.2.tar.gz
Algorithm Hash digest
SHA256 87579aeb56d78b897843a8ae56c95505fd153f775fc069b19c3b04480303e41a
MD5 afa3902857282008d201f8acc85e5471
BLAKE2b-256 b7a3fee303022e1ea4417fc788a3fbef861e4dc38bee24e70526125c5180d829

See more details on using hashes here.

File details

Details for the file dir_audit-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: dir_audit-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 16.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for dir_audit-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d4a5e381daddd983b0bd9d528b208e19b8b2ba5bfafeccd32c4129d4d32b4e0d
MD5 005cb0f196a3285103fc70c930ed5ae3
BLAKE2b-256 5eb24d61bd6cd51a1580fc7596b8eb8341cfd2533872ddf9e639e1699b284ff4

See more details on using hashes here.

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