replace “oldString” “newString” – *.fileExtrension
eg:
replace “<h1>” “<titre1>” – *.html
pour remplace dans tous les fichiers *.htm le string h1 par le string titre:
find . -name "*.htm*" | while read i do replace "<h1>" "<titre1>" -- *.html done
info:replace
replace “oldString” “newString” – *.fileExtrension
eg:
replace “<h1>” “<titre1>” – *.html
find . -name "*.htm*" | while read i do replace "<h1>" "<titre1>" -- *.html done