How to easily (batch) delete merged (duplicate) files?

I have over a thousand merged (duplicate) files and they take a lot of space. For some reason they don’t appear in the duplicate checker. The only way I know of deleting them is to go in the scenes file info tab, one by one, and delete the duplicate. I read somewhere that there was a plugin to facilitate just that but I could not find such a plugin.

This must be a very common problem so I’d be amazed if there was no solution to this.

Any help appreciated
Thanks!

So I had a very similar issue as well, I no longer do but it did take me a long time to clean up. Unfortunately as far as I know there is no “easy” way to do it. I had to use a combination of things to clean up my collection.
Run it through the dup checker plugin. I ran it so it would check for any length and then selected 1 by 1 exact, high, medium, low.
Then I used a the filter to show “file count greater than 1” and started to manually go into each one and delete the dup scene. That part is the tedious part. So what I did since I also use the renamer plugin and it sorts each performer/scene into folders for me I would just go into each folder and look for the files that have a “_1 or _2” at the end of them and just delete those files.
Then just run the clean up process in Stash. Most of the time if a scene gets merged they should have the same file name so it should end with that.
From what I can tell the plugin for the dup checker is looking for unmerged scenes, but I could be wrong on that. I guess since you have a lot of dups you can try to unmerge a few and see if the dup checker catches them. But even then that would be a lot of manual work since I dont think there is a plugin to unmerge scenes.
Someone with a bit more knowledge might know a better way but that is the way I had to do it since I was getting multiple packs of content of certain performers and you never know what may be in them.

Thanks for this, I was wondering the same and this seems to be the easiest (though not easy) way to do it. Seems almost like an oversight that you can’t delete Merged files automatically.

There is a plugin for exactly this use case.

So I finally tried the plugin (Additional File Deleter) and it worked. It deleted ~1000 files in 2 minutes! Exactly what I wanted.

Thanks

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.