So requesting some help, I am currently trying to sort out a mess in my google photos. I have downloaded the archive of my google photos and have a bunch of folders with files/photos in them. I am trying to write a batch file to move the files/photos from the folder to the root of this portable drive I am using for the cleanup.
So far I have this:
@echo off
for /f "tokens=*" %%f in ('dir /a:-D /s /b') do move "%%f" .
for /f "tokens=*" %%f in ('dir /a:D /s /b') do rd "%%f"
It works the only problem I have is that potentially there could be photos with the same filename in different folders and I don't want to overwrite.
Is there any parameter I can set on the move command to block the overwrite?
Thanks