Compare folders

Any wishes
Locked
w201
Posts: 8
Joined: Mon Mar 13, 2017 7:38 pm

Compare folders

Post by w201 » Mon Oct 23, 2017 5:58 pm

Maybe I just can't find this future but if it not present please add "compare folders" with some options. As always good example as it done in total commander.
Thank you.

d0ublezer0
Posts: 102
Joined: Tue Jun 28, 2016 6:17 pm
Location: NN, Russia

Re: Compare folders

Post by d0ublezer0 » Fri Mar 23, 2018 7:30 pm

vote for it

also need compare files by content

Sticky
Posts: 14
Joined: Sun Feb 17, 2019 8:31 pm

Re: Compare folders

Post by Sticky » Thu May 02, 2019 3:58 pm

I see this has been requested a couple of times in the past. It would be really great to have compare folder options.

If that's not possible for some reason, would it at least be possible to set up an easy way to run diff in the terminal feeding it the current folders in the left and right panel??

Thanks!

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Compare folders

Post by mike » Fri May 03, 2019 7:45 am

Sure thing, you can run a custom tool with a feed from current panels.
Just set an application to /usr/bin/diff and parameters to, for instance, %LF %-LF.

Sticky
Posts: 14
Joined: Sun Feb 17, 2019 8:31 pm

Re: Compare folders

Post by Sticky » Fri May 03, 2019 3:29 pm

Sorry, I didn't quite understand that. Can you walk me through it? Or point me to a link that describes the process?

It would be way better to have NC do it automatically, but a decent workaround is using the terminal command "diff" if you can feed the full paths of both panels easily. But I'm not quite sure how to do that. Thanks

User avatar
mike
Posts: 1060
Joined: Thu Jul 16, 2015 5:35 am
Location: Exeter, UK

Re: Compare folders

Post by mike » Sun May 05, 2019 8:29 pm

Sure, what you need is "Tools"(external tools):
Go to Preferences->Tools->Hit the Plus button;
Choose what you want to start in "Application", probably it's "/usr/bin/diff";
Pick what NC data you want to feed to the app, in this case it can be "%LF" (source filenames in a text file) and "%-LF" (target filenames in a text file).
Once an external tool is configured, you can fire it up via Command->Tools or via an assigned hotkey.

Sticky
Posts: 14
Joined: Sun Feb 17, 2019 8:31 pm

Re: Compare folders

Post by Sticky » Tue Oct 05, 2021 1:26 am

Hello again,
I had this working at some point with the diff workaround but it's not working now. Do you know what the correct parameters are to compare the two active panes? Did it change perhaps when I upgraded to Big Sur?

Either way: to expand on what the desired result would be for this feature request: Ideally this would happen within the app, not in a terminal window! When you compare the two folders, Nimble Commander should select (highlight) the files that are different between the two windows on both sides. That way they are easy to see at a glance as you scroll through the folders and, if needed, you can immediately perform some action on the files (move, copy, delete, etc.).

Would such a feature be possible in the future?

xmaster
Posts: 9
Joined: Thu Aug 02, 2018 8:54 pm

Re: Compare folders

Post by xmaster » Sat Oct 30, 2021 6:05 pm

Definitely vote for the feature of comparing folders like in Total Commander! Definitely, that's the only feature I miss in NC.

pwu
Posts: 33
Joined: Mon Apr 26, 2021 2:46 pm

Re: Compare folders

Post by pwu » Mon Nov 01, 2021 7:35 am

I was missing this feature as well and now I use Beyond Compare as external tool to do it (shortcut with parameters /solo %P %-P). Not the best solution but works well. Recommend it

pretzelmonster
Posts: 3
Joined: Tue Jun 29, 2021 1:33 pm

Re: Compare folders

Post by pretzelmonster » Thu Dec 16, 2021 6:11 pm

Hi, I definitely also miss this feature after using Total Commander since 1997...
Would be great to get something to compare files in Nimble Commander!

Keep up the good work!

Locked