I am trying to recursively compare a directory in the local host to a directory in a remote linux machine. However, when i execute the next command:
diff -r
I find krusader very useful for such task in case you need a GUI. See https://www.linux.com/news/synchronize-directories-komparator-and-kdiff3 for more details http://krusador.org.
example folder compare