A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Windows 10 » Windows 10 Help Forum
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

how to merge 2 directories keeping newer duplicates and all unique files



 
 
Thread Tools Rate Thread Display Modes
  #16  
Old July 5th 20, 11:38 AM posted to alt.comp.os.windows-10
Frank Slootweg
external usenet poster
 
Posts: 1,226
Default how to merge 2 directories keeping newer duplicates and all unique files

GlowingBlueMist wrote:
On 7/3/2020 12:33 PM, R.Wieser wrote:
Jason,

Both source directories contain many files with distinct
names, but there are many duplicates. I want to combine
the distinct files and, of the dups, keep the newer one.


Does "xcopy" still exists on W10 ? If so :

/D copy only newer files

(use "xcopy /?" to get the whole list)

Regards,
Rudy Wieser


Nice one, I forgot about it, and it is still in Windows 10 too.


Yes, often simple is better. I got a headache from looking at robocopy
and then just used 'xcopy /D' (with some other 'switches' thrown in) for
making incremental 'backup' (actually an archive copy) of a source tree.

OTOH, if you're familiar with robocopy, xcopy might look 'weird'.
Ads
 




Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off






All times are GMT +1. The time now is 08:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.