fixing my code
This commit is contained in:
parent
fe279d97bd
commit
afc5064a7b
|
@ -1,11 +1,6 @@
|
|||
#!/bin/bash
|
||||
#Achie's Cute little windows to arch script, I HATE WINDOWS!!!
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 <directory>"
|
||||
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"
|
||||
|
|
Loading…
Reference in New Issue