|
DirectoryPrinterPro v1.0.0
Print your directory, with customization options.
|

Download or clone the repository to your local machine.
This will install the printdir executable in the /usr/local/bin directory.
In your terminal, enter sh /path/to/DirectoryPrinterPro/install.sh. This basically runs the commands above.
Navigate to the directory you want to print and run the following command:
printdir [OPTIONS]
-h, --help - Print help message and exit.
--to-file - Print the output to a file under the root directory.
-d,--depth INT - Set recursion depth. A negative value means infinite depth.
-n, --name TEXT - Set the root directory name. Only affects the output.
--ignore TEXT ... - Set the list of files/directories to be ignored. (e.g. .vscode, .git, build, etc.)
--no-content TEXT ... - Ignore the contents of specific directories. (Only prints the directory name.)