Re: Rsync --delete does not work

2002-07-23 Thread g dm
2002 13:25:54 -0700 (PDT) To: g dm <[EMAIL PROTECTED]> 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 '

Re: Rsync --delete does not work

2002-07-23 Thread g dm
- Original Message - From: Wayne Davison <[EMAIL PROTECTED]> Date: Tue, 23 Jul 2002 13:25:54 -0700 (PDT) To: g dm <[EMAIL PROTECTED]> Subject: Re: Rsync --delete does not work > On Tue, 23 Jul 2002, g dm wrote: > > rsync -a --delete * /data/exp_dir > &

Re: Rsync --delete does not work

2002-07-23 Thread Wayne Davison
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 instea

RE: Rsync --delete does not work

2002-07-23 Thread Granzow, Doug (NCI)
Try adding -v to your rsync command to get more verbose output, perhaps giving you an idea why --delete is not working as expected. --delete works for me, but there are situations where rsync will ignore --delete for safety (such as if certain errors occur). Also, remember that "*" is expanded b