zukatsu.tk => A collection of random notes

created for a reminder of all things that happen in the past
Kategori : Linux Ubuntu25 Februari 2019 17:55:02

Ubuntu Recursive Search

grep -rl --null "Your Find" . | xargs -0 sed -i.bak -e "s/Your Find/Replace/"

 

Source : https://unix.stackexchange.com/questions/113746/test-recursive-sed-search-and-replace-before-running

Share : Share Facebook Share Twitter
Kategori : Linux Ubuntu25 Februari 2019 17:55:02

zukatsu.tk
©2011