copy certain files and preserve directory structure

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!
 
G

Guest

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!
 
B

Bob I

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.
 
G

Guest

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.
 
S

Seahawk60B

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top