Use below mention command to find and replace a complete string in linux :-
find . -type f -exec sed -i 's/find/replace/g' {} +
In case of directory address use \ with / to replace.
find . -type f -exec sed -i 's/find/replace/g' {} +
In case of directory address use \ with / to replace.
No comments:
Post a Comment