I am using the following
rsync
command which includes the "update" option, meaning it will skip files at the receiver which are newer. It works, except that I need it to tell me the **files which were skipped** because they are newer on the receiver.
rsync -ahHX --delete --itemize-changes --stats --update /path/to/source/ --exclude=/dir1/ --exclude=/dir2/ --exclude=/dir3/ /path/to/receiver/
I have reviewed the man page and I don't see such an option. I hope I just missed it or didn't understand something.
If rsync will not do this, what other tools can I use? I tried diff -rqw /path/to/source/ /path/to/receiver/
but that takes far too long. It is doing more than I need.
The total file size is 24.60 GB in 71,835 files.
Asked by MountainX
(18888 rep)
Mar 5, 2020, 11:11 PM
Last activity: May 9, 2025, 04:20 PM
Last activity: May 9, 2025, 04:20 PM