Page 1 of 1

Compare folders

Posted: Mon Oct 23, 2017 5:58 pm
by w201
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.

Re: Compare folders

Posted: Fri Mar 23, 2018 7:30 pm
by d0ublezer0
vote for it

also need compare files by content

Re: Compare folders

Posted: Thu May 02, 2019 3:58 pm
by Sticky
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!

Re: Compare folders

Posted: Fri May 03, 2019 7:45 am
by mike
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.

Re: Compare folders

Posted: Fri May 03, 2019 3:29 pm
by Sticky
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

Re: Compare folders

Posted: Sun May 05, 2019 8:29 pm
by mike
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.

Re: Compare folders

Posted: Tue Oct 05, 2021 1:26 am
by Sticky
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?

Re: Compare folders

Posted: Sat Oct 30, 2021 6:05 pm
by xmaster
Definitely vote for the feature of comparing folders like in Total Commander! Definitely, that's the only feature I miss in NC.

Re: Compare folders

Posted: Mon Nov 01, 2021 7:35 am
by pwu
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

Re: Compare folders

Posted: Thu Dec 16, 2021 6:11 pm
by pretzelmonster
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!