This version gathers a list of source directories and constructs a single rsync command so that the --delete option can be used with a common destination directory.