Question:
How can you copy just the pictures from many/numerous sub-folders?
Eddy
2012-05-02 20:25:25 UTC
I have a folder (titled Pics) with many sub-folders and I need to copy all of the pics from these sub-folders so I can have them all in one big folder.

I don't want to copy the sub-folders and copying each folder one by one is very time consuming as there are about 400 sub-folders.

Thanks for your help!
Four answers:
Optmist
2012-05-02 20:36:08 UTC
just create folder "My Snaps" in which you wish to keep all your pictures

then step by step move all the pictures from sub folders into that folder "My Snaps"



done



take care
codeman24333
2012-05-03 03:35:39 UTC
the best way is to search the ending file extension. The most common one is .jpg so go to start and click search (assuming you are using a windows computer) and type in .jpg then hit and hold ctrl and a this will select all of the jpg photos on your computer then right click and click copy then just paste them to the folder you want them in.
?
2012-05-03 03:30:40 UTC
Inside the top folder, assuming you are using windows 7, top right in the search box, type *.jpg or *.bmp or whatever the file type is you are looking for, and every one of those files of that type will appear.



Example: I want to find all .jpg files in a folder. I click up top right in windows 7, I type *.jpg and all .jpg's will appear in the search, I press control A to select all, right click, cut, go to the folder where I want them, right click paste.



Do the above for any file types.
brisray
2012-05-03 04:45:34 UTC
In the search box in the Start menu or any Windows Explorer window just type



pictures



This finds all image types, jpg, png, jpeg, gif, tif etc. etc.



If you want to copy all the files without doing anything much use this command line



for /R "C:\Users\brisray\Documents\" %f in (*.jpg *.gif *.bmp) do copy "%f " "C:\Users\brisray\Documents\pics\"



Obviously change the source and desitination path to suit your own setup. You can also add to the list in *.jpg *.gif etc. If those directories only contain images then just use *.*



If you want to save this to a batch file then you need to add another % to the ones already there. The line will then read



for /R "C:\Users\brisray\Documents\" %%f in (*.jpg *.gif *.bmp) do copy "%%f " "C:\Users\brisray\Documents\pics\"


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...