Solved

Copy large directory into directory, do not overwrite files

Posted on 2004-10-15
5
1,533 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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Solid State Drive Performance Tips: Solid state storage technology is now a standard.  After testing and using several different brands and revisions of SSD's over the years I have put together a collection of tips,tools and suggestions that I ha…
Lets start to have a small explanation what is VAAI(vStorage API for Array Integration ) and what are the benefits using it. VAAI is an API framework in VMware that enable some Storage tasks. It first presented in ESXi 4.1, but only after 5.x sup…
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…

785 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