Forrest logo
back to the ssh tool

ssh:ai:58bcd

diff two directories over ssh show only differences
$ ssh user@host "diff -r dir1 dir2"
try on your machine

This command remotely compares the contents of two directories, showing only the differences between them.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • diff two directories over ssh show only differences?
back to the ssh tool