How to diff two directories?

Kevin Korb kmk at sanitarium.net
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 FutureQuest.net  (work)
	Orlando, Florida		kmk at sanitarium.net (personal)
	Web page:			https://sanitarium.net/
	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: <http://lists.samba.org/pipermail/rsync/attachments/20200505/4661e30b/signature.sig>


More information about the rsync mailing list