I have a list of 100+ folders listed already in order.
Folder 1 Folder 2 Folder 3 etc...
In each of the folder contains images that are also in order
001.jpg 002.jpg 003.jpg etc...
Ultimately, I am trying to combine these 100+ folders into one massive folder with all the images inside according to their order, renaming each image from 000000001 - 99999999.
I am a complete beginner in coding. I have tried using Bulk Renaming Utility but i cant get it to combine all the images from multiple folders into one folder.
Any help is appreciated.
Thank you!
Here's the minimum script needed to meet your requirements. There's no error checking.
Set
$topSourceFolderNameand$targetFolderNameas needed for your computerI assume your 100+ folders, Folder 1 Folder 2 Folder 3 etc. all exist under a single parent folder (
$topSourceFolderName)I assume the single parent folder and all of the 100+ folders under the single parent folder contain only jpg files
I assume your "one massive folder" (
$targetFolderName) is NOT anywhere under the single parent folder ($topSourceFolderName)I assume the PowerShell script is stored in a folder other than
$topSourceFolderNameor$targetFolderNameEmail me at [email protected] if you have any questions