Rsync --delete does not work

2002-07-23 Thread g dm
Hi I just started to use rsync samba to backup some windows NT 98 shared directories to a linux machine linux: debian 2.2.4 rsync: 2.2.5 samba: 2.2.3a-6 I first mount the windows directory on the linux and then do a local rsync. ---command on linux umount /data/transfer mount -t smbfs -o

RE: Rsync --delete does not work

2002-07-23 Thread Granzow, Doug (NCI)
it at the destination directory. Try using . instead of * to get more reliable results. Doug -Original Message- From: g dm [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 23, 2002 11:55 AM To: [EMAIL PROTECTED] Subject: Rsync --delete does not work Hi I just started to use rsync samba

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

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 So, what did I do wrong? You're sending

Re: Rsync --delete does not work

2002-07-23 Thread g dm
) 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 '*' is expanded by the shell into a list of files). The --delete option