diff --git a/WIN2ARCH.sh b/WIN2ARCH.sh index bb8d23e01..65adc0043 100755 --- a/WIN2ARCH.sh +++ b/WIN2ARCH.sh @@ -1,11 +1,6 @@ #!/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' {} + +find "." -type f ! -name '.*' -exec sed -i 's/windows/arch/g' {} + echo "Made the code better and made it work." echo "Love, Archie"