Compare directories

Features wanted...
Post Reply
binary
Posts: 4
Joined: 22 Nov 2009 16:44

Compare directories

Post by binary »

Hi,

Been testing XYplorer a bit and I'm missing a simple compare directory which only looks at filenames.

You have dual-pane up, and choose to compare the two dirs.
What should happen is that the files the panes have in common get filtered out, while the unique ones for each pane is left visible.
Then it's a piece of cake to manually drag drop the ones you want to the other pane.

admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Compare directories

Post by admin »

Hi and welcome,

yep, not there at the moment. And not planned for the foreseeable future. But future is a long time... :)

Don

DorothyFan1
Posts: 104
Joined: 10 Jul 2009 15:51

Re: Compare directories

Post by DorothyFan1 »

binary wrote:Hi,

Been testing XYplorer a bit and I'm missing a simple compare directory which only looks at filenames.

You have dual-pane up, and choose to compare the two dirs.
What should happen is that the files the panes have in common get filtered out, while the unique ones for each pane is left visible.
Then it's a piece of cake to manually drag drop the ones you want to the other pane.
This is supplied by a software program called Beyond Compare. Do a search for this program and I think you'll like what it offers.

admin
Site Admin
Posts: 65017
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Compare directories

Post by admin »

DorothyFan1 wrote:
binary wrote:Hi,

Been testing XYplorer a bit and I'm missing a simple compare directory which only looks at filenames.

You have dual-pane up, and choose to compare the two dirs.
What should happen is that the files the panes have in common get filtered out, while the unique ones for each pane is left visible.
Then it's a piece of cake to manually drag drop the ones you want to the other pane.
This is supplied by a software program called Beyond Compare. Do a search for this program and I think you'll like what it offers.
And it can be nicely integrated into XYplorer with user defined commands or custom toolbar buttons...

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Compare directories

Post by serendipity »

Hi and Welcome,
Not exactly what you need, but just to show that it can be done by scripting. I wrote a script in which you select a file and then the script will look for similar file in the other folder. More about it here:

http://www.xyplorer.com/xyfc/viewtopic. ... 59&p=37281

If I have enough time i can write a script, but not right away.

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Compare directories

Post by serendipity »

Hi and Welcome,
Not exactly what you need, but just to show that it can be done by scripting. I wrote a script in which you select a file and then the script will look for similar file in the other folder. More about it here:

http://www.xyplorer.com/xyfc/viewtopic. ... 59&p=37281

If I have enough time i can write a script, but not right away.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Re: Compare directories

Post by jacky »

serendipity wrote:Not exactly what you need, but just to show that it can be done by scripting.
So I didn't want to do what I should be doing :roll:, so here's a little example of what scripting can do about that...
Proud XYplorer Fanatic

RalphM
Posts: 2044
Joined: 27 Jan 2005 23:38
Location: Cairns, Australia

Re: Compare directories

Post by RalphM »

Sure looks like a lot of code for s'th you don't use yourself...
Ralph :)
(OS: W11 24H2 Home x64 - XY: Current x32 beta - Office 2024 32-bit - Display: 1920x1080 @ 125%)

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Compare directories

Post by serendipity »

jacky wrote:
serendipity wrote:Not exactly what you need, but just to show that it can be done by scripting.
So I didn't want to do what I should be doing :roll:, so here's a little example of what scripting can do about that...
Great! Now Binary can go without Beyond compare.

binary
Posts: 4
Joined: 22 Nov 2009 16:44

Re: Compare directories

Post by binary »

jacky wrote:
serendipity wrote:Not exactly what you need, but just to show that it can be done by scripting.
So I didn't want to do what I should be doing :roll:, so here's a little example of what scripting can do about that...
Awesome, thanks for the help everyone. I'll have a look at this right away :D

ReviewPilot
Posts: 150
Joined: 27 Jul 2007 09:21
Location: Germany

Re: Compare directories

Post by ReviewPilot »

Hi,
can s.omeone explain how I would integrate sth. like that into XY?

I'd also appreciate that feature :)
check out this guys work - xkcd webcomics

serendipity
Posts: 3360
Joined: 07 May 2007 18:14
Location: NJ/NY

Re: Compare directories

Post by serendipity »

ReviewPilot wrote:Hi,
can s.omeone explain how I would integrate sth. like that into XY?

I'd also appreciate that feature :)
Hi,
You can do this by
1) clicking on menu "Tools>Customize Toolbar",
2) On the left-side list (Available buttons) go all the way down and you will see User Button #1, #2 etc,
3) click on any one and click add to add to "Current Buttons" list.
4) Click OK and you will see that button in the toolbar now.
5) Click on that button and Name it as you likr and then edit the "On Click" field and add the script provided by Jacky (http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=4328).

ReviewPilot
Posts: 150
Joined: 27 Jul 2007 09:21
Location: Germany

Re: Compare directories

Post by ReviewPilot »

Ah yeah serendipity, this is great,
Thank you very much for that fast answer. I'll try it.

Cheers, RP
check out this guys work - xkcd webcomics

Post Reply