mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Add find-replace.sh script.
This commit is contained in:
parent
39be9aa58d
commit
bda49ed609
1 changed files with 5 additions and 0 deletions
5
find-replace.sh
Executable file
5
find-replace.sh
Executable file
|
|
@ -0,0 +1,5 @@
|
||||||
|
|
||||||
|
# Recursive find/replace.
|
||||||
|
# Syntax: ./find-replace.sh searchtext replacetext
|
||||||
|
|
||||||
|
egrep -lRZ '$1' . | xargs -0 -l sed -i -e 's/$1/$2/g'
|
||||||
Loading…
Add table
Add a link
Reference in a new issue