summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtree2md2
1 files changed, 2 insertions, 0 deletions
diff --git a/tree2md b/tree2md
new file mode 100755
index 0000000..525dedb
--- /dev/null
+++ b/tree2md
@@ -0,0 +1,2 @@
+#! /bin/bash
+tree -f --noreport -I '*~' --charset ascii $@ | sed -e 's/| \+/ /g; s/[|`]-\+/ */g; s:\(* \)\(\(.*/\)\([^/]\+\)\):\1[\4](\2):g'