Hi,
I have a directory has DIR1 and the D1 directory has 200+ files.
I want change the string from "Bangalore" to "Bangaluru" in all files in the D1 directory.
Thanks
Hi,
I have a directory has DIR1 and the D1 directory has 200+ files.
I want change the string from "Bangalore" to "Bangaluru" in all files in the D1 directory.
Thanks
using Perl:
perl -pi -e 's/Bangalore/Bangaluru/g' /path/to/D1/*
Hi,
for i in `ls path_of_D1/*`
do
sed 's/Bangalore/Bangaluru/g' $i >> temp
\mv temp $i
\rm temp
done
Thanks
Penchal