-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Yep, using a wildcard in the command line lobotomizes rsync's --delete
function.  Use a trailing / instead.

On 03/02/13 15:52, Matthias Schniedermeyer wrote:
> On 02.03.2013 13:14, Eric Shubert wrote:
>> I have a situation that I think might be a bug, but would like 
>> someone else to have a look at before I create a report.
> 
> ...
> 
>> "$source"/* \
> 
> As far as i know rsync, this is your error.
> 
> Ignoring the current-directory you rsync a bunch of files. IIRC
> rsync doesn't delete files on the commandline, only files missing 
> in a directory.
> 
> Personally i nearly always sync complete directories. rsync -av
> source-dir/ target-dir/ (Notice the slashes at the end) That what
> is very easy to understand and works "unsurprising".
> 
> 
> 
> 

- -- 
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEyZ1MACgkQVKC1jlbQAQf6OQCgo2pgQ7CxBqjAm7NxVCxC97cJ
dJUAn3PpzDaqme0oUCaQmttdtxWZS5i9
=ihzr
-----END PGP SIGNATURE-----
-- 
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to