Calling rsync
in the following way, using --existing
, --ignore-existing
and --delete
allows the following:
- Files at target that do not exist at source will be deleted.
- Skip all file copy operations from source to target.
$ rsync \
--delete \