I'm pretty new to Powershell and would like some help.
I have a folder: C:\Pictures
In that folder is a bunch of sub folders, each with a unique name. Then in those folders are pictures in .JPG format.
I would like a script that sequentially renames each .JPG within the subfolders, but leaves the subfolders alone (doesn't rename them) and then also renames the extension to a lowercase .jpg.
For example:
C:Pictures\Graduation\239490238.JPG, 349083048.JPG, etc, etc....becomes C:\Pictures\Graduation\Pic 01.jpg, Pic 02.jpg, etc, etc.
Then the script moves on to the next subfolder so:
C:\Pictures\Wedding\12120981209.JPG, 43048930489.JPG, etc, etc, becomes C:\Pictures\Graduation\Pic 01.jpg, Pic 02.jpg, etc, etc.
The order that the .JPGs are in when the script starts stays the same....just each file is renamed sequentially. And then it moves on to the next subfolder.
I appreciate any help whatsoever!!!