I have a directory in linux with lots of images having double underscore (__), I have to make it single under score (_). Lets say file name is a__1.jpg. I have to make it a_1.jpg. I have to do it for all files inside a directory. What should be the command?

Check Solution