Python script to generate docx file with contents of directory structure
usage: dir2dox.py [-h] [-a] [-p PATH] [-o OUTFILE] [-v]
optional arguments:
-h, --help show this help message and exit
-a, --all Parse all files and don't skip over hidden files &
folders
-p PATH, --path PATH Top level directory path to scan
-o OUTFILE, --outfile OUTFILE
Name of output file
-i IGNORE [IGNORE ...], --ignore IGNORE [IGNORE ...]
File extensions to ignore and not add to the docx
-v, --verbose verbose
Requires python-docx module, install using pip:
pip install python-docx