?
Solved

Copy large directory into directory, do not overwrite files

Posted on 2004-10-15
5
Medium Priority
?
1,573 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 500 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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: evilrix
Looking for a way to avoid searching through large data sets for data that doesn't exist? A Bloom Filter might be what you need. This data structure is a probabilistic filter that allows you to avoid unnecessary searches when you know the data defin…
How much do you know about the future of data centers? If you're like 50% of organizations, then it's probably not enough. Read on to get up to speed on this emerging field.
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…
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…
Suggested Courses
Course of the Month9 days, 16 hours left to enroll

571 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