This is more like a nuisance and could be that I just don't know the right way to do this. I have several backup drives that contain folders with hundreds of files in each. Most are identical as they are just dated backups done 3 months apart.
With the huge increase in drive size I have been asked to put all the contents together onto a single drive. Copying folder A on a backup drive into the folder A on the Main drive. Normally, I get the message that the file already exists do I want to overwrite or skip. Since the files are identical I could just say overwrite and let it run. But it takes a LOT longer to do that than to say skip. Then when done delete the folder, files and all from the backup drive But there are many copies of these backups so I have to do this until all the folders are only on the one main drive, then make a single backup.
I was wondering if there is a command line switch that would say IF the file already exists on the target drive then delete it from the one you are copying from saving me having to go back and delete all these folders and files.
Something that would >copy from A to B and if the file is already on B then delete it from A.
Thanks .. I will probably feel foolish when someone tells me that is a normal command line switch