Is there an easy way to rename all the files in a directory? Is PowerShell the way to go?
I'd like to go from this:
c:\family_pics\ img123.jpg img124.jpg
c:\family_pics\ family_pics_1.jpg family_pics_2.jpg
Ideally, I'd like to run a script on a directory which would rename all the files based the current directory's name while preserving the extension and would walk the directory tree recursively.