windows 7 - How to delete duplicate restored user files with "(2)" added (Win7)

07
2014-07
  • user332172

    How to delete duplicate restored user files with "(2)" added (Win7) I restored my user files on windows 7 system from the Win 7 backup. I selected the wrong restore option and all files were restored. Existing unchanged files were restored with the text string " (2)".

    Is there a way to write a batchfile or script to do this operation?

    Example file name: "01 lesson 1" "01 lesson 1 (2)"

    I want to delete all files which had " (2)" appended on restore.

  • Answers
  • that guy

    try

    1)sort all files by date (right click on empty space inside a folder with that mess, and click "view->details" and "sort by->date modified") and see if this visually breaks down all files in 2 parts: old and new files - if it does the you can just select all (2), (3)... files and delete them yourself.

    2)search for "(2)" files and delete them?

    inside a folder with that mess type into search field "name: (2)" without quotes. after that delete all files that windows finds. the search field is located in the right upper corner. it says "Search [folder name]".

    3)or you can try some duplicate file finder/remover apps: "Yet Another Duplicate File Remover": http://sourceforge.net/projects/yadfr/

    or "Duplicate Files Finder" http://sourceforge.net/projects/doubles/

  • joeqwerty

    From a command prompt at the root of the drive or folder where the files were restored to:

    del *(2).* /s /q


  • Related Question

    windows 7 - Renaming or deleting files in backed up location
  • Juraj Blaho

    I have set up a backup on Windows 7. The problem is that when I delete or rename a file in a backup, then the information about deletion or renaming is not backed up. So when I run restoration, all files, including the deleted ones, are restored.

    1. Is it possible not to restore files that were deleted?
    2. Or is there any alternative backup software that can do that?

  • Related Answers
  • surfasb

    If you are using Windows Backup, then you can do this using the Previous Versions.

    http://windows.microsoft.com/en-US/windows7/Previous-versions-of-files-frequently-asked-questions

    enter image description here

  • Contango

    If you want cloud backup, then I prefer Amazon S3 plus some backup program such as 2BrightSparks SyncBackPro or CloudBerry. They will both handle synchronization issues seamlessly (SyncBackPro has more powerful features, however its not as easy to use out of the box).