Hiding files not in both sides

I have two buttons with identical code but use a different argument. The buttons are as follows:

Show Doubles

Select DESTTOSOURCE=notin DESELECTNOMATCH HIDESEL
Select SOURCETODEST=notin DESELECTNOMATCH HIDESEL

Show Uniques

Select DESTTOSOURCE=in DESELECTNOMATCH HIDESEL
Select SOURCETODEST=in DESELECTNOMATCH HIDESEL

Here is a test folder I made to demonstrate the issues

As you can see both folders have both doubles and unique files.

When I click the first button, it behaves as expected:

The 2nd button does not though:

The right hand side should show only file 4 and file 5.

Also of potential note, it doesn't appear to be applying any filtering to the right hand side at all when using the 2nd button. More interesting is that if I only use a single line of code, either DESTOSOURCE or SOURCETODEST in conjunction with the "in" argument, it will filter properly.

The command checks vs the currently visible files on each side. If you hide files on one side in the first command, it will mean the second command doesn't do what you wanted.

There's an example of how to do it in this recent post:

1 Like

Thank you for the clarification Leo :slight_smile:

1 Like