I am backing up files from my computer to a USB flash drive using a list file that contains paths to the desired files. When I remove a path from that list and re-sync, the corresponding files are not being deleted from the USB drive, even though I am using the --delete and --delete-missing-args flags. rsync appears to focus strictly on the paths currently in the list, effectively ignoring (and failing to clean up) any files at the destination that are no longer included in the list.
I am proposing a --clean-up flag that would instruct rsync to treat the list as the exclusive set of allowed files at the destination, purging any files found there that do not match an entry in the list or moving them to the --backup-dir=DIR.