Re: How to diff two directories?

2020-05-06 Thread Kevin Korb via rsync
On 5/6/20 11:49 AM, Peng Yu wrote: > On 5/5/20, Kevin Korb via rsync wrote: >> Rsync != diff. > > What do you mean? I only need to know what files are not the same, but > I don't need to know what the differences are with the files. See diff -q > >> However, if that command lists a file

Re: How to diff two directories?

2020-05-06 Thread Peng Yu via rsync
On 5/5/20, Kevin Korb via rsync wrote: > Rsync != diff. What do you mean? I only need to know what files are not the same, but I don't need to know what the differences are with the files. > However, if that command lists a file something is different about it. > add --itemize-changes to find

Re: How to diff two directories?

2020-05-05 Thread Kevin Korb via rsync
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

How to diff two directories?

2020-05-05 Thread Peng Yu via rsync
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 -- Regards, Peng -- Please use reply-all for most replies to avoid omitting the mailing list. To