update:extend old scripts + new random ones
This commit is contained in:
4
misc/go-project-name-replacer
Executable file
4
misc/go-project-name-replacer
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
[ $# -ne 2 ] && { echo "Usage: go-project-name-replacer <old-name> <new-name>"; exit 1; }
|
||||
grep -rl "$1" . | xargs sed -i "s/$1/$2/g"
|
||||
|
||||
Reference in New Issue
Block a user