On 5/6/20 11:49 AM, Peng Yu wrote: > On 5/5/20, Kevin Korb via rsync <rsync@lists.samba.org> 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 something is different about it. >> add --itemize-changes to find out what. > > I see this output. What does ">f.s........ 2.txt" mean? Thanks. There is a whole section in the man page that explains what all of the itemize output means. This means the file size is different. > > $ rsync -avun --delete --itemize-changes /tmp/tmp.GH6z0oN8rn/a/ > /tmp/tmp.GH6z0oN8rn/b > sending incremental file list >> f.s........ 2.txt > > sent 73 bytes received 19 bytes 184.00 bytes/sec > total size is 4 speedup is 0.04 (DRY RUN) > > > ==> /tmp/tmp.GH6z0oN8rn/a/1.txt <== > 1 > > ==> /tmp/tmp.GH6z0oN8rn/a/2.txt <== > 2 > > ==> /tmp/tmp.GH6z0oN8rn/b/1.txt <== > 1 > > ==> /tmp/tmp.GH6z0oN8rn/b/2.txt <== > 22 > > -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._., Kevin Korb Phone: (407) 252-6853 Systems Administrator Internet: FutureQuest, Inc. ke...@futurequest.net (work) Orlando, Florida k...@sanitarium.net (personal) Web page: https://sanitarium.net/ PGP public key available on web site. ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,
signature.asc
Description: OpenPGP digital signature
-- Please use reply-all for most replies to avoid omitting the mailing list. To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html