Question : Robocopy - How do i copy images from one directory structure to a single folder?

Using robocopy (or something similar on windows)

I would like to know how I can copy all JPG or GIF files from c:/DigitalCamera and it subdirectories all place them all into the one folder c:/DigitalCameraNew

I do not want the folder structure, just the images. The plan is to have a copy of the images all in one folder.

thanks

Answer : Robocopy - How do i copy images from one directory structure to a single folder?

That's correct. If you don't want to overwrite existing files use BAT with the following content:

@echo off
set dest=c:\DigitalCameraNew\
for /r %%i in (*.jpg, *.gif) do if not exist "%dest%%%~nxi" copy "%%i" "%dest%"
set dest=
Random Solutions  
 
programming4us programming4us