dg/ux --delete anomaly
Tim Boyer
tim at denmantire.com
Tue Dec 16 03:20:39 EST 2003
>
> On Sat, Dec 13, 2003 at 10:54:34AM -0500, Tim Boyer wrote:
> > I'm running rsync 2.5.7 on Data General dg/ux 4.20, and just
> noticed that
> > the --delete command is not deleting.
> >
> > # />ls -la /test
> > total 5
> > drwxr-xr-x 2 root other 512 Dec 13 10:46 .
> > drwxr-xr-x 37 root root 1536 Dec 13 10:46 ..
> > -rw-r--r-- 1 root other 0 Dec 13 10:46 a
> > -rw-r--r-- 1 root other 0 Dec 13 10:46 b
> > -rw-r--r-- 1 root other 0 Dec 13 10:46 c
> >
> > # />ls -la /test1
> > total 5
> > drwxr-xr-x 2 root other 512 Dec 13 10:47 .
> > drwxr-xr-x 37 root root 1536 Dec 13 10:46 ..
> > -rw-r--r-- 1 root other 0 Dec 13 10:46 d
> > -rw-r--r-- 1 root other 0 Dec 13 10:46 e
> > -rw-r--r-- 1 root other 0 Dec 13 10:47 f
> >
> > # />rsync -a --delete /test/* /test1
>
> Unless you specify a directory it cannot delete.
> Try that with
> # />rsync -a --delete /test/ /test1
> instead
>
Sonofa... that works, of course. Thanks much.
More information about the rsync
mailing list