DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SHELL
search and replace recursive text file linux
grep -rl "oldtext" /path/to/folder | xargs sed -i 's/oldtext/newtext/g'
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#search
#replace
#recursive
#text
#file
#linux
ADD COMMENT
Topic
COMMENT
Name
4+9 =
Submit