Rsync: provide a list of unsent files

The Rsync flag -uprevents overwriting modified destination files. How can I get a list of files that were not sent because of this flag? The flag -vwill let me know which files were sent, but I would like to know which ones were not.

+5
source share
1 answer

On the rsync man page :

-i, --itemize-changes

,                , .                , --out-format = '% i% n% L'.               , ,                rsync - , , 2.6.7 ( -vv                rsync,                ).

-ii rsync 3.0.8, -vv . .

, rsync --dry-run --existing . , :

rsync --update --recursive local:/directory/ remote:/directory/

:

rsync --dry-run --existing --recursive remote:/directory/ local:/directory/

-vv -ii .

+7

All Articles