How to replace a string in multiple files in linux command line
پنجشنبه, ۱۱ مرداد ۱۳۹۷، ۱۰:۰۴ ق.ظ
cd /path/to/your/folder
sed -i 's/foo/bar/g' *
Occurrences of "foo" will be replaced with "bar".
- ۹۷/۰۵/۱۱
cd /path/to/your/folder
sed -i 's/foo/bar/g' *
Occurrences of "foo" will be replaced with "bar".