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
Solved

Copy folder structure and some files

Posted on 2014-10-31
1
210 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 84

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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). …
The viewer will learn how to successfully download and install the SARDU utility on Windows 8, without downloading adware.

808 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