?
Solved

Copy folder structure and some files

Posted on 2014-10-31
1
Medium Priority
?
219 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 2000 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

Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

Question has a verified solution.

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

When asking a question in a forum or creating documentation, screenshots are vital tools that can convey a lot more information and save you and your reader a lot of time
In this post we will be converting StringData saved within a text file into a hash table. This can be further used in a PowerShell script for replacing settings that are dynamic in nature from environment to environment.
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.
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…
Suggested Courses

764 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