"Skip/Replace All" Advanced Options

(I hope I've reached the right forum this time...)

As an old user of Diretory Opus, I wish there was an option to choose what you want to skip under what conditions when you're confirming file replacement (the "Confirm File Replace" dialog window).

Right now, under the "Skip" selection there's only "Skip identical" as a choice.

What I'd like to see is there to be a batch option in that pull-down/arrow-down menu to select i.e. the larger version of a file and skip/replace accordingly, or other more versatile user-definable variables that could be set from that dialog. (Or, you could insert a checkbox next to each row when you get the dialog, and add a "Apply this ruleset" (or something to that degree) functionality into the "Confirm File Replace" dialog.

This particular issue is a problem for me right now -- if you don't mind me explaining the circumstances I'm dealing with right now as a case example:

I just recovered around a terabyte of data using EaseUS's recovery tool after an external HDD suddenly broke its NTFS filetable (what a joy in the middle of all else, right?). Luckily, I'm able to reach the files and recover them almost without issues, but the problem is that the NTFS file table on the damaged HDD seems to have been split into two (?) identical-looking partitions (with both of them having the same files).)

In other words, I'm in a situation where the recoverable files and folders are visible within EaseUS's Data Recovery as two lost partitions although there was only one partition on the original drive to begin with. So, essentially, they appear as they're duplicated altogether on to the file table, but on the other recovered partition it has some files that are otherwise identical in file and folder structure, but instead of containing anything, they are 0kb in size and vice versa on the other "ghosted" partition. "Stitching" these two together on a separate drive would (and will) practically solve the problem.

Now ... on to the point. This wouldn't just apply to my particular predicament but also to all batch copying: perhaps BOTH the "Replace" AND the "Skip" functionalities should have a separate selection in their pull-down menus for additional options on what to skip and what to replace and under what conditions.

For instance, now I'm not looking to copy newer files but rather to copy the larger file (some files on the other lost partition are 0kb in size, whereas on the other one they are as they should be).

There could be many parameters one could choose from that, you could even have both the "Replace" and "Skip" buttons have a separate "Advanced Options" screen where you could do a file-by-file comparison.

I know this might at first seem as an odd feature request, but if you truly think about it, it's actually what you'd really want from a solid piece of file management software such as the Directory Opus. That way, you could implement a certain type of data redundancy check into simple copy procedures and make sure you always get the correct version mirrored off to i.e. another drive, regardless of the circumstances.

Oh, and if the feature I'm referring to is already available hidden under somewhere underneath all the bells and whistles within Directory Opus, then take this as a otherwise-happy customer's feedback (who has also worked as a beta tester and a coder on various projects throughout the past few decades) on what could be done to improve and to make things more convenient in the future as for the program's user interface.

To continue on with the attempt to clarify the "Confirm File Replace" optionl: For instance, the otherwise quite useful "Skip Identical" gets confused when you have the exact same size in file but the other one is of a different date&timestamp. In my case it's because they've been recovered at different times. If there was a way to set the parameters on when to replace under what priority rules and so forth, things would work out in a jiffy. That's why I'd kindly request a further look into additional options that could be implemented into the functionality of both the "Replace" and "Skip" options in any possible upcoming Directory Opus versions.

You'd likely want more parameters to be able to be selected in a separate window, maybe as in:

Replace => Replace All (Advanced Options)
Skip => Skip All (Advanced Options)

(Or just have checkboxes next to the file properties that you could check and then apply as a ruleset for whether or not to replace and/or skip the file copying.)

Something to that effect. I hope I'm making any sense here. And I know that there'll likely be a "But why don't you go through the files one by one?!" argument; in this case that's not the point. The point is to be able to select the parameters on what to skip and what to replace without further dialogs. A few terabytes of data is a lot of files to go thru as for indexing it in an A/B comparison manually.

A huge thank you once again to all the developers & staff of Directory Opus. Cheers!

Couldn't you delete all the zero byte files, then do the copy using the existing replace/skip options?

Thanks a lot, that indeed is a feasible workaround for now! ... But... it's not a solution, he he. (Directory Opus being a file manager after all, right?)

All joking & poking aside, I've been in the situation multiple times when I've wished that Directory Opus would have a bit more advanced functionality when it comes to options in the Replace/Skip functionality of the program. That's really my only "pretty please" I have for the otherwise excellent and versatile file manager. Sorting thru them dupes, adding more emphasis on that level of functionality sure wouldn't hurt, would it? Especially when given the amount of data that most people have laying around these days...

Thanks for your good workaround suggestion anyway and have a nice weekend! Cheers!

That makes sense, but doesn't give a concrete idea of what could be added there which would really help. "More advanced" is a little vague.

For example, do you just want a "keep larger" option similar to the existing "keep newer" option? I could see that causing problems if you actually wanted "keep newer, unless one of the files is zero bytes, in which case keep the non-empty file", since sometimes you'd want to keep the smaller, but newer, file.

At which point, we may really talking about arbitrary scripting events/logic or something like that.

You could use the Copy Filter and tell it to only copy files that are > 0 bytes in size?

Here's a quick suggestion as for the UI. It's a very rough draft but perhaps you get the idea and could work on it? I'd say there'd be plenty of possibilities for a more versatile, quick file transfer if you'd implement something to that degree... After all, workarounds are just that. Workarounds.

(EDIT: The idea of the pull-down menus is that you could set the parameters for quick-to-use batch file/folder copying, i.e. you could change the variable of "Smaller" into i.e. "Larger", "Newer", etc., and the "Overwrite Existing" into "Skip File", etc, etc... In a "perfect world" there would be a "Preview" button next to the Apply so that you could quickly see a list what will be copied/overwritten, etc., so that you don't accidentally batch-screw up your files.)

Also, please note that this suggestion isn't just something that'd apply for the particular file mayhem I've got going on right now, but for all future purposes as well. Like I've said, I've been missing that kind of quick-to-use functionality from Directory Opus's UI when it comes to transferring a batch of files without having to resort to this, that, or the other workaround... That would be the #1 thing I'd add to its "quick-to-use" functionality, as it'd be a true time-saver IMHO. Feel free to express any criticism on the idea, though. The suggestions this far are sufficient for the time being, BUT we could do better than that to improve the software in of itself, right? :slight_smile:

One enhancement I'd suggest is the option to ignore the date (especially the time) when deciding if files are identical. I often find files that are identical except for slightly different date stamps (again, usually the time is different by a matter of minutes). I'd like to be able to tell DO that those files are identical for purposes of moving/copying.

It might also be worth considering an option to allow a user to indicate that files that have almost identical sizes (e.g., within about 10 bytes or so, but maybe more; it could be configurable) should be treated as identical.

One enhancement I'd suggest is the option to ignore the date (especially the time) when deciding if files are identical. I often find files that are identical except for slightly different date stamps (again, usually the time is different by a matter of minutes). I'd like to be able to tell DO that those files are identical for purposes of moving/copying.

It might also be worth considering an option to allow a user to indicate that files that have almost identical sizes (e.g., within about 10 bytes or so, but maybe more; it could be configurable) should be treated as identical.

Yes!!! That's exactly what was in my "other list of suggestions" for that very dialog, i.e. when there's a list of otherwise identical files but there's i.e. a mismatch in the date and you'd want to override that one. I mean, here goes another example, I know it doesn't make much sense but let's imagine that this could be one of the ways to implement/open up a more advanced view into what exactly gets skipped or overwritten and under what conditions:

Again, that's just a draft of what an advanced options menu COULD look like. Take it with more than just a grain of salt and think of how it could be implemented in a wise way. Or, as the old saying goes: "Keep it simple, stupid." :smiley: