<div class="gmail_quote">On Sat, Jan 22, 2011 at 10:21 AM, Mikolaj Kucharski <span dir="ltr">&lt;<a href="mailto:mikolaj@kucharski.name">mikolaj@kucharski.name</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
$ rsync -rcv --delete backup/ mail/</blockquote></div><br>Unless the &quot;backup&quot; dir only contains files that came from inside the mail dir, you need to specify what source inside the backup you want to copy.  Like one of these:<div>
<br></div><div>rsync -rcv --del backup/mail/ mail/</div><div>rsync -rcv --del backup/mail . <br clear="all"><br>In the former, the contents of the mail dir are put into the mail dir.  In the latter, the mail dir is copied, along with its contents into the current dir (for &quot;mail&quot;) and its subdirs.</div>
<div><br>..wayne..<br>
</div>