Solved

Copy folder structure and some files

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

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

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
An article on effective troubleshooting
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

810 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