Solved

Copy large directory into directory, do not overwrite files

Posted on 2004-10-15
5
1,531 Views
Last Modified: 2008-01-09
I'm using Windows (XP) and I want to copy a large directory with many subdirectories into another directory.  However, I want to overwrite no files, but I do want to move any files in the subdirectories that are not in the target directory.  I hope that makes sense.  In other words, a want to copy a directory into another directory, filling in any files that are missing but overwriting nothing.  This would be easy except there are many subdirectories involved, and I want the same things to happen in the subdirectories using just one command.
0
Comment
Question by:kevinful
  • 2
  • 2
5 Comments
 
LVL 13

Accepted Solution

by:
Caseybea earned 125 total points
ID: 12322405
XXCOPY should do the trick!

www.xxcopy.com

xxcopy is a FREE (for personal use) copy tool--  similar to Window's "XCOPY", but with more features and functionality.  Works with everything from Windows 95 on up.



0
 
LVL 20

Expert Comment

by:DVation191
ID: 12323119
Since the last expert only gave you a link to a program with 220 switches, try this =)

xxcopy C:\LargeDirectory\*.* C:\NewDirectory\ /E /C /I /H /BN

I tested it...seems to work perfectly.
0
 
LVL 20

Expert Comment

by:DVation191
ID: 12323142
heh, if i knew a link was all it took i wouldn't have wasted my time...oh well!!
0
 
LVL 13

Expert Comment

by:Caseybea
ID: 12323427
Sorry--  I would have spent more time on documenting the switches, but felt that with the 8-pages-worth of switches available, he'd end up finding OTHER things he wanted to do with that app as well.

I also believe in the "here use THIS - it WORKS" type of answer, so long as I am confident that the 'thing' I am passing along has solid documentation.   XXCOPY has that--   tons of documentation.   And it's even readable.

That, and I was first ;-)
0
 

Author Comment

by:kevinful
ID: 12324829
Sorry DVation, I certainly would have split points if I hadn't been so "Accept Answer" happy.

Thanks much for your answers!
0

Featured Post

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

In this article, I provide some information on storage disks which go into calculations that will help you figure out how much Input/output Operations Per Second (IOPS) your disk subsystem can deliver. To effectively size & tune up applications l…
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

863 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

26 Experts available now in Live!

Get 1:1 Help Now