DELMODE in Find does not perform as expected (DELMODE is removed in v13)

I'm using a very simple internal command
Find IN {sourcepath$} DUPES MD5 DELMODE
to find duplicate files in the current folder.

The documentation section for DELMODE states:
"When automating the Duplicate File Finder, activates "delete mode" - once duplicates have been identified, the second and subsequent of each duplicate group will be automatically selected, ready for deletion."

My internal command works correctly in moving to a new "duplicate files" tab that lists all duplicate files, but contrary to expectations the second duplicate files are never selected so I could go on to delete them. Any guesses as to why this is so?

I've read the forums and tried to add "Select deldupes" as a second line to the command but that also does nothing.

Thanks for any help!

That's from Opus 12 :slight_smile:

New in Directory Opus 13 - Duplicate Files Finder

1 Like

Ah, right! My bad (as per usual).

Still: Any tips as to how I might get the same results in 13 (I am running 13 pro), the reference documentation in the internal Find or Select command doesn't clearly offer any alternative ways to achieve this?

I'd just like a quick way to select the second duplicate of a duplicate group so I could delete it quickly, preferably without opening a lot of extra windows etc.

You need to make your selection in this menu:

It's available via the Select button in the lower right of the panel, or Select DUPES. I don't think there is a way to preselect files through the Find command itself.

1 Like

Thanks for the help!

I'd like to open this quickly from a toolbar to minimize clicks. An opus command in a toolbar button "Select DUPES" is permanently greyed out and cannot be activated. I'm probably missing something really basic?

The source needs to display a collection of dupes.

1 Like

Thanks! I'm getting a picture of how this works now, but it's seems way too complicated and involves too many clicks for what I'm looking for (essentially a 1-click button in the source directory to both search for duplicates and select all but the first file from groups that have duplicates).

Appreciate the help, though!

Definitely useful, I agree :+1:

For anyone interested, I created a solution by using the JDUPES command line program (Releases - jbruchon/jdupes - Codeberg.org) and a very simple MS-DOS batch command in a DOpus toolbar button:
C:\PATH_TO_JDUPES\jdupes.exe -N -d "{sourcepath}\"

The -N option automatically removes all duplicates but one in a group, -d enables deletion. The only thing to keep in mind with jdupes seems to be that it always bypasses the recycle bin so you need to know what you are doing. Otherwise it seems reliable!