I have a directory structure like this:
Project/ | +--Part1/ | | | +--audio.mp3 | +--Part2/ | | | +--audio.mp3 | +--Part3/ | | | +--audio.mp3 ...
I want to end up with files called Part1.mp3, Part2.mp3, etc.
Each folder only contains a single file so there is no risk of clobbering files or dealing with multiple files with the same name.
I feel like I could do this with some sort of
xargs command coupled with
mv but I can't figure out how to actually form the command.