Jump to content

Urgent! How to copy many files/folder without replacing existing?


ODC

Recommended Posts

I have a folder with lots of subfolders and lots of files, called folder1.

I have a copy of the above folder, with additional files, called folder2.

I want to copy the files from folder2 to folder1, but without replacing existing copies in folder1.

How?

Edited by ODC
Link to comment
Share on other sites


All you have to do is drag an drop. When you get the message to replace or overwrite the existing files you should have an option that say's yes to all, yes, no or no to all" once you click no to all it will copy only the files that aren't already there.

Link to comment
Share on other sites

EDIT: Actually, the drag and drop doesn't work. It simply states

"If the files in the existing folder have the same name as files in the folder you are moving or copying, they will be replaced. Do you still want to move or copy the folder?

[yes] [yes to all] [no] [cancel]"

If I click no, the operations is aborted.

Edited by ODC
Link to comment
Share on other sites

You could use robocopy or xxcopy.

Robocopy is part to the Windows Server 2003 Resource Kit Tools

robocopy folder2 folder1 /s /xo /xn /xx /l

I added the /l so the command will only list the changes. Once you get it working the way you want run the command without the /l option to copy the files.

/XN :: eXclude Newer files.

/XO :: eXclude Older files.

/XX :: eXclude eXtra files and directories

/S :: copy Subdirectories, but not empty ones.

/L :: List only - don't copy, timestamp or delete any files.

/E :: copy subdirectories, including Empty ones.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...