rsync with --delete option
<p>Anyone know why:</p>
<pre><code>rsync -azuv --exclude "*.db" --delete /etc/postfix/ /home/backups/system/etc/postfix/
</code></pre>
<p>Would delete files from the destination that don't exist on the source (as it is supposed to), but:</p>
<pre><code>rsync -azuv --exclude "*.db" --delete /etc/postfix/* /home/backups/system/etc/postfix/
</code></pre>
<p>Doesn't?</p>
<p>There is nothing "funky" about the files (as far as I can tell) that don't get delete by the second command - in other words, they don't start with a "." or anything. For the record (not that it matters) the files that weren't removed from the destination after I deleted them from the source were:</p>
<p>postgrey_whitelist_recipients.rpmnew
postgrey_whitelist_clients.rpmnew
postgrey_whitelist_clients.local.rpmnew</p>
<p>TIA!</p>