Trying to create a "negative list" with the duplicate search

Hello,

I am trying to find a way to create a "negative list" with the duplicate search function.

Example:

I have 2 folders, one folder contains 50 images the second folder contains 77 images - the 50 images in the first folder do have the same name, but are not binarie duplicates.

Now what I would like to do is, comparing both folders and checkmarking the MISSING images - so exactly the opposit as finding and checkmarking duplicates (e.g. by filename).

While using the duplicate search function all dups are being checkmarked in the file collection folder - but not e.g. in the original folder.

Is there a way to tell DO to double checkmark pictures in the original folder? Then I could look for the non checkmarked images and would know which images are missing in the other folder.

Trying the use of the sync funktion will not work (as I can see it) since you cannot "compare" files by their names ONLY.

Or is there a workaround for my feature I am looking for? Any ideas?

dp_fan

So you just want to see which filenames are in one directory but not in another?

Select SOURCETODEST works perfectly for that.

That puts it excactly into what I want.

And the missing ones should be selected if this is possible within a script.

But how can this be done on an easy way. The folder/s will not be the same, so the paths as well as mayby the HD will allways change.
I am still in the process to learn DO and the scripting.....

dp_fan

P.S. The "hidden folder problem" could also not be solve in the German Forum - so I give up on tis. Your script is running on other computers o.k.

I think you'd have to invert the selection after selecting the items which do exist.

[quote]But how can this be done on an easy way. The folder/s will not be the same, so the paths as well as mayby the HD will allways change.
I am still in the process to learn DO and the scripting.....[/quote]
The steps are:
[ol][li]Navigate to the two folders in question. Let's assume the left folder is the Source.[/li]
[li]Select ALL (Edit->Select All, or Ctrl-A) in the left folder.[/li]
[li]Select SOURCETODEST DESELECTNOMATCH to select everything in the right folder that is also selected in the left one.[/li]
[li]Make the right folder the Source by clicking its path/border at the top.[/li]
[li]Select INVERT (Edit->Invert Selection) to reverse the selection so that only the missing items are selected.[/li][/ol]
You can do steps 2-5 as a single button which runs this command:

dopusrt /cmd Select ALL dopusrt /cmd Select SOURCETODEST DESELECTNOMATCH dopusrt /cmd Set SOURCE=Toggle dopusrt /cmd Select INVERT dopusrt /cmd Set SOURCE=Toggle
The "dopusrt /cmd" stuff is needed because the Select command currently gets confused if the Source and Destination get swapped in the middle of a command. The dopusrt lines make it seem to Opus like five separate commands are run in a sequence instead of as a single batch.

Did you ever try running it without the last line which sets the hidden attribute? Are you sure it isn't creating the folders and they're just being hidden from you so it looks like nothing happened?

Hi,

thanks for getting back to me.

I was able to make 2 buttons by myself too, which work - but your button would seem to me much comfortable then mine - if, yes, if it would be working at my computer.
What it does do is: until the action "invert" it works perfect - but the action "invert" does not take place. I cannot see the action "Set SOURCE=Toggle" before the "invert" should take place, mayby here starts the problem.

Mayby I did not understand this here....First my question: "dopusrt /cmd" - what do I have to do with this information? Do I need to put this into the Button "text".

What has been working for me with the buttons I created is the following:

select all files (manually)
then my button "Select SOURCETODEST"
I change to the other window by using the mouse klick
then my second button "Select INVERT "

I do have somehow the impression, that I am not able to create 3 or more action inside one button. Just a feeling....

Comparing again this problem here and the "Hidden Folder" problem, I have no idea what is wrong or what I am doing wrong. Hm......

So your button looks like this in the text field:

Nudel, what was the name of the program you have used to make this little screen movie to show me how the "Hidden Folder" script is running on your computer? Is it freeware?

dp_fan

You should include the dopusrt /cmd stuff in the button. Paste exactly what was in the code box of my post into your button.

The movies were made with Camtasia Studio which isn't free. I think there are one or two free alternatives which might be good enough for small things but I can't remember the names or which are the good ones.

Hi,

your button works - sometime. Its funny again, if I hit it several time, e.g. 6, one or 2 times the buton does what it should, the rest stopes after the selecten (no invert takes place). I have changed the text excactly now what you have written.

I will look for a program to make a clip so you can see it for yourself.
Nudel, the 2 buttoms you wrote for me, would they also be working with DO 8?

dp_fan

I was afraid of that. Seems there's a race condition in the button due to the dopusrt hacks I had to use, but it doesn't work at all without the hacks. :frowning: I'll file a feature request asking for some stuff that should make this possible in a reliable way. It'd be useful in a couple of other situations as well.

I'm not sure.