I have a directory like this
root/A/b/SomeFile.jpg root/A/B/OtherFIle.jpg root/a/D/yet_again.jpg
And I would like this
root/a/b/somefile.jpg root/a/b/otherfile.jpg root/a/d/yet_again.jpg
I'm happy with assuming that there aren't collisions.
How could I do this in a bash or python script (or something prebuilt to sort files and directories)?
I'd do by hand, but there are thousands of them.