Rsync --delete does not work
g dm
gdm2002 at email.com
Tue Jul 23 14:53:01 EST 2002
thank you for the help, Wayne & Doug. It works now.
it was indeed the shell expansion I didn't correctly understand
It's indeed the first time I come across the ./ parameter
Bye
Glenn
----- Original Message -----
From: Wayne Davison <wayned at users.sourceforge.net>
Date: Tue, 23 Jul 2002 13:25:54 -0700 (PDT)
To: g dm <gdm2002 at email.com>
Subject: Re: Rsync --delete does not work
> On Tue, 23 Jul 2002, g dm wrote:
> > rsync -a --delete * /data/exp_dir
> > So, what did I do wrong?
>
> You're sending a list of files, not a directory (since '*' is expanded
> by the shell into a list of files). The --delete option only works on
> a directory-to-directory transfer, so try using this instead:
>
> rsync -a --delete ./ /data/exp_dir
>
> ..wayne..
>
>
--
__________________________________________________________
Sign-up for your own FREE Personalized E-mail at Mail.com
http://www.mail.com/?sr=signup
Save up to $160 by signing up for NetZero Platinum Internet service.
http://www.netzero.net/?refcd=N2P0602NEP8
More information about the rsync
mailing list