[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

replace string



i need your feedback about this command, it should find a string in
multiple html files in a directory and replace it with a different
string...

find /dir -name "*.html" -exec sed i 's/"old"/"new"/g' {} \;

Thx.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]