I have a lot of XML files, over 50000 of them.
In some XML files, some files are written like this
<filename>abc.JPEG<^Lilename>
^L
is just one character, but I can't find what ^L
means with Google.
When I use cat
to print the content of a file, it shows like the following
<filename>abc.JPEG<
ilename>
Anyway, I want to change <filename>abc.JPEG<^Lilename>
to <filename>abc.JPEG</filename>
I already found some command to change a word in many files, such as
find . -exec perl -pi -e 's/[find_word]/[change_word]/g' {} \;
But that command doesn't work in my case, because it cannot recognize the search word when I just type ^L
.
How can I change <filename>abc.JPEG<^Lilename>
to <filename>abc.JPEG</filename>
in many files?