Solved

Copy folder structure and some files

Posted on 2014-10-31
1
215 Views
Last Modified: 2015-04-03
On drive E: I have a folder structure that contains all of my photos.
I want to copy the entire folder structure to drive F:  retaining all the folders and sub-folders,
BUT I only want to copy JPG and JPEG files to the new drive.
I want all PSD, CR2, NEF, XMP files etc to remain on D: but not be copied to F:

any ideas ?
0
Comment
Question by:KCTS
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 85

Accepted Solution

by:
oBdA earned 500 total points
ID: 40415384
The good old robocopy and a file mask of *.jpg *.jpeg?
robocopy.exe E:\ F:\ *.jpg *.jpeg /e /r:0 /w:0

Open in new window

Add
/np /tee /log:"S:\ome\log\file.log"

Open in new window

if you want a log file as well as console output.
0

Featured Post

Edgartown IT Case Study

Learn about Edgartown's quest to ensure the safety and security of the entire town's employee and citizen data. Read the case study!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many software programs on offer that will claim to magically speed up your computer. The best advice I can give you is to avoid them like the plague, because they will often cause far more problems than they solve. Try some of these "do it…
Determining the an SCCM package name from the Package ID
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question