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??


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.