Files
mocksnow/update_module.sh
2025-03-21 19:49:41 +11:00

11 lines
197 B
Bash
Executable File

#!/bin/sh
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <new module name>"
exit 1
fi
new_module=$1
find . -type d -name .git -prune -o -type f -exec sed -i '' -e "s/wnzl-snow/${new_module}/g" {} \;