I have a folder, C:\Users\User1\Desktop\Photos2019, with over 100 subfolders. In each of those subfolders are photos, all with varying names, except 3 photos in each are the same. I'd like to be able to create a 2 subfolders in each of the folders in the directory, one called 'Base' and one called 'Other', and have the 3 files the same in all moved into the 'Base' folder, and everything else moved into the 'Other' folder, something like below.
C:\Users\User1\Desktop\Photos2019 -Folder1/Base/Landscape.png -Folder1/Base/Portrait.png -Folder1/Base/Wide.png -Folder1/Other/*.png -Folder2/Base/Landscape.png -Folder2/Base/Portrait.png -Folder2/Base/Wide.png -Folder2/Other/*.png
EDIT: So far I've been able to make a batch script that I can run in each folder, and it will do the job. It's when I try and add in /r for looping it, that it keeps running but doesn't do the job at all.
for %%a in (.) do md "Base" for %%a in (.) do md "Other" for %%a in (.) do move "Portrait.png" "Base" for %%a in (.) do move "Landscape.png" "Base" for %%a in (.) do move "Wide.png" "Base" for %%a in (.) do move "*.png" "Other"
This is what I want I'm trying to run in each subfolder.
What would be the best way to do this? Thanks.