Solved

Copy large directory into directory, do not overwrite files

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

New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

Join & Write a Comment

I have written before on the benefits of using a Boot media other than your HDD when it has become infected.   The article I wrote about creating a bootable CD/DVD/USB (http://e-e.com/A_2343.html) was mainly concerned with building a UBCD4Win on CD …
How to update Firmware and Bios in Dell Equalogic PS6000 Arrays and Hard Disks firmware update.
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…

772 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

10 Experts available now in Live!

Get 1:1 Help Now