Page 1 of 1

Is there a way to use Bulk Rename Utility to delete duplicat

PostPosted: Thu May 16, 2019 11:05 am
by Lincon
Hello everyone,,
Not sure if this is the right place to put this, but it's the best I could think of.

Situation: there are five folders called "FolderA" "FolderB" etc etc. Each folder has a folder nested directly "beneath" (not proper parlance, i know, I cant remember) that is also called "FolderA" etc. I want to run a program or script to remove all the duplicate folders. This situation usually is a product of unzipping compressed archives with WinRAR or 7-Zip. I have more than just the five, fyi, try over 500. People need to learn how to compress stuff better.

Re: Is there a way to use Bulk Rename Utility to delete duplicat

PostPosted: Sat May 18, 2019 2:03 am
by dude
I would use Everything for that https://www.voidtools.com )

Enter this search to find all folders that have a parent folder with the same name:
Code: Select all
folder:  regex:\\([^\\]*)\\\1$



Then you can delete those folders or open them in Explorer or ...