How to diff two directories?

Kevin Korb kmk at
Wed May 6 00:58:28 UTC 2020

Rsync != diff.

However, if that command lists a file something is different about it.
add --itemize-changes to find out what.

On 5/5/20 8:47 PM, Peng Yu via rsync wrote:
> Hi,
> I use this command. But it also shows the files that are the same. Is
> there an option that can be specified so that only the differences are
> printed? Thanks.
> rsync -avun --delete src dir

	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at  (work)
	Orlando, Florida		kmk at (personal)
	Web page:
	PGP public key available on web site.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: OpenPGP digital signature
URL: <>

More information about the rsync mailing list