From ab48a37bda423d7e15be508448454746f4f12b33 Mon Sep 17 00:00:00 2001 From: Jason Nagin <33561705+JasonN3@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:02:10 -0400 Subject: [PATCH] rename file --- docs/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/Makefile b/docs/Makefile index 13abb49..c7168da 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -1,2 +1,5 @@ docs: - find -name '*.md' | while read -r line; do echo "\"$${line}\""; done \ No newline at end of file + find -name '*.md' | while read -r line; \ + do \ + mv "\"$${line:2}\"" $$($${line:2} | tr '/' '_'); \ + done \ No newline at end of file