<div dir="ltr">ok. thats straight through, but in my case i would like to delete dest/dir3 because it does not exist anymore in the source dir-tree. Do you have any idea? I could use<div><br></div><div>parrentdir/ instead of parrentdir/./dir1/ and parrentdir/./dir2/ as source but then I have the symlink problem you solved by adding the slash after the symlinks.</div>
<div><br></div><div>Thanks</div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Dec 2, 2013 at 9:18 PM, Kevin Korb <span dir="ltr"><<a href="mailto:kmk@sanitarium.net" target="_blank">kmk@sanitarium.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<br>
</div>It would not.  Rsync only operates on the sources you tell it to.  If<br>
the source is no longer specified then --delete would not operate on<br>
it in the target.  This is why it is not recommended to use<br>
/path/to/source/* as the source as that will be expanded to multiple<br>
sources.<br>
<div><div class="h5"><br>
On 12/02/13 15:15, - wrote:<br>
> Hi Kevin,<br>
><br>
> thanks. I'll try this again. I did before but got the impression<br>
> that on subsequent runs, rsync would not recursivly run through<br>
> dir1 and dir2. I hope I just was very tired ;-)<br>
><br>
> another topic: Do you have an idea if rsync could delete "dir3" if<br>
> dest/ consists of dir1 dir2 dir3 and I use<br>
><br>
> rsync -RaH --stats --delete --progress --itemize-changes dir1/<br>
> dir2/ dest/<br>
><br>
> Thanks<br>
><br>
><br>
><br>
<br>
</div></div><div class="im">- --<br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~<br>
        Kevin Korb                      Phone:    <a href="tel:%28407%29%20252-6853" value="+14072526853">(407) 252-6853</a><br>
        Systems Administrator           Internet:<br>
        FutureQuest, Inc.               Kevin@FutureQuest.net  (work)<br>
        Orlando, Florida                <a href="mailto:kmk@sanitarium.net">kmk@sanitarium.net</a> (personal)<br>
        Web page:                       <a href="http://www.sanitarium.net/" target="_blank">http://www.sanitarium.net/</a><br>
        PGP public key available on web site.<br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v2.0.22 (GNU/Linux)<br>
Comment: Using GnuPG with Thunderbird - <a href="http://www.enigmail.net/" target="_blank">http://www.enigmail.net/</a><br>
<br>
</div>iEYEARECAAYFAlKc6xMACgkQVKC1jlbQAQdzJwCgnmTgLJJXXnJUqqUhVk2C2/kE<br>
lA4Amwbv9tPRiGTV0idBvF87R5bexFCR<br>
=9Sli<br>
<div class=""><div class="h5">-----END PGP SIGNATURE-----<br>
--<br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</div></div></blockquote></div><br></div></div></div>