copy certain files and preserve directory structure

  • Thread starter Thread starter Ivar
  • Start date Start date
I

Ivar

Hi,

Does anybody know a way that I can copy files from one folder to
another while:
a) only copying files larger than (for instance) 800KB
b) preserving the original directory structure

What I'm trying to do is grab only the good-quality photos from a
directory. The photos are cryptically named (2231234.jpg for example)
but are stored in subdirectories that explain where the photo was taken
(i.e. c:/photos/vacation 2005/mexico/on the beach/2231234.jpg).

Does anyone know of a utility, method, or the xcopy switch that will
let me do this?

Thanks!
 
You can sort the images in order of the size. Once sorted in ascending order
- select the first file which has size 800kb and then select all the files
underneath it.

Do a ctrl+C and you are done!
 
If you have the space you could duplicate the entire structure and then
search just that folder for images, sort by size and delete the small
images.
 
Search for the files greater then 800kb in size.

Inside the folder, click "Search" on the toolbar.
Click "All Files and Folder"
Expand "What size is it?"
Choose "Specify Size"
And type "800" in the input box.
Click "Search"
Copy the files and then Paste them wherever you want them.
 
Try using either xxcopy or robocopy, both have switches which will
allow you to
a) copy subdirectories, and
b) exclude files smaller than a specified size
 
Back
Top