From fe279d97bd26390e06abbade66a9c4d22ac6bd92 Mon Sep 17 00:00:00 2001 From: Archie Date: Sun, 29 Sep 2024 01:39:47 +0000 Subject: [PATCH] adding the arch patch script --- WIN2ARCH.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 WIN2ARCH.sh diff --git a/WIN2ARCH.sh b/WIN2ARCH.sh new file mode 100755 index 000000000..bb8d23e01 --- /dev/null +++ b/WIN2ARCH.sh @@ -0,0 +1,11 @@ +#!/bin/bash +#Achie's Cute little windows to arch script, I HATE WINDOWS!!! +if [ -z "$1" ]; then + echo "Usage: $0 " + exit 1 +fi +DIRECTORY="$1" +find "$DIRECTORY" -type f -exec sed -i 's/windows/arch/g' {} + + +echo "Made the code better and made it work." +echo "Love, Archie"