rsync: Audit Transfer Filters and Deletion Outcomes

rsync: Audit Transfer Filters and Deletion Outcomes

Choose one answer. All questions are included, with explanations after checking. No time limit. Training target: 21/26. Applied rsync 3.4.1 filter and deletion diagnostics: transfer roots, path patterns, parent traversal, ordered sender hide/show and receiver protect/risk rules, delete-excluded, perishable exclusions, per-directory merge inheritance and deletion timing, transfer-selection options, and dry-run evidence. Assumes basic Linux command-line knowledge. Local regular-file scenarios with successful I/O; not a full rsync administration, backup-recovery or security course. Sources: https://github.com/RsyncProject/rsync/blob/v3.4.1/rsync.1.md https://www.samba.org/ftp/rsync/rsync.html
1 of 26
Assume upstream rsync 3.4.1 on Linux, readable regular files, existing destination directory dst/, and successful execution. Trees have only the listed entries and their parent directories. Source has .rules containing '- *.tmp', sub/.rules containing '+ keep.tmp', and files sub/keep.tmp and sub/drop.tmp. Run rsync -a -f ': .rules' src/ dst/ into empty dst/. Which of the two .tmp files arrives?