How nuitrcs/directory-scanning works
This is a self-contained toolkit for researchers auditing and cleaning data directories. The main workflow is to point the command-line suite at a directory, optionally configure a SharePoint path check, and receive CSV/optional Excel reports. The suite orchestrates separate inventory, file-type, and largest-file analyses; the path-length check is conditional. The excerpts show the suite’s calls and scanning/report logic, while README descriptions support the documented standalone workflows and outputs.
Main entry points: run_all.py Report suite · scan_directory.py Folder inventory · summarize_filetypes.py File-type summary · find_large_files.py Largest files
Components 8
Command orchestration
- Report suite
scripts/src/run_all.py
Directory audits
- Folder inventory
scripts/src/scan_directory.py - File-type summary
scripts/src/summarize_filetypes.py - Largest files
scripts/src/find_large_files.py - Path-length check
scripts/src/check_path_length.py
Report generation
- CSV / Excel reports
Other components
- Researcher
- Research data directory
Connections 17
- Researcher → Report suite: runs suite
README.md - Researcher → Folder inventory: runs report
README.md - Researcher → File-type summary: runs report
README.md - Researcher → Largest files: runs report
README.md - Researcher → Path-length check: runs check
README.md - Report suite → Folder inventory: calls inventory
scripts/src/run_all.py - Report suite → File-type summary: calls summary
scripts/src/run_all.py - Report suite → Largest files: calls scan
scripts/src/run_all.py - Report suite → Path-length check: optionally calls
scripts/src/run_all.py - Folder inventory → Research data directory: scans folders
README.md - File-type summary → Research data directory: scans files
README.md - Largest files → Research data directory: scans files
README.md - Path-length check → Research data directory: checks paths
scripts/src/check_path_length.py - Folder inventory → CSV / Excel reports: writes reports
README.md - File-type summary → CSV / Excel reports: writes reports
README.md - Largest files → CSV / Excel reports: writes reports
README.md - Path-length check → CSV / Excel reports: writes reports
scripts/src/check_path_length.py