rsync question (regarding --delete)

Hi there

Does anybody know of a way that i can, instead of issuing a --delete when syncing one directory to another, I can instead somehow receive a list of what would be deleted, but not actually delete it ?

basically, people are occasionally putting files into one of synced folders, but rather than just deleting said file every night when the sync runs (which is what weve been doing up til now), we want to pull these exceptions out, mail them and get them to remove it manually (as they may wish to back it up)

personally id like them to learn the hard way, but the management , they say no :slight_smile:

Is this possible with rsync ?

Any help would be greatly appreciated

Does your version of rsync have a -n switch to perform a dry-run? From the man page:

-n should do the trick