I am trying to change the path in whole lot of m3u files. I know I can do it with regexxer f.e. but I'm trying to learn bash.
This is the command I figured out, but it is not working.
grep -lr -i -e 'M:\\' * | xargs -0 sed -i 's/M:\\/T:\\/g'
I suspect, but only suspect, it is due to special characters in filenames. How to deal with that?