Initial commit

This commit is contained in:
2024-11-04 18:39:37 -05:00
commit 5409b6d482
21 changed files with 1047 additions and 0 deletions

7
script-tree-to-markdown Normal file
View File

@@ -0,0 +1,7 @@
#!/usr/bin/env bash
# Make a nice markdown file from a dir tree
# Copyright 2021 Bryan C. Roessler
tree=$(tree -f --noreport --charset ascii "$1" |
sed -e 's/| \+/ /g' -e 's/[|`]-\+/ */g' -e 's:\(* \)\(\(.*/\)\([^/]\+\)\):\1[\4](\2):g')
printf "# Code/Directory Structure:\n\n%s" "$tree"