Solved

Copy folder structure and some files

Posted on 2014-10-31
1
197 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
1 Comment
 
LVL 83

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now