Help on rsync delete option
Daniel Ramaley
daniel.ramaley at DRAKE.EDU
Fri Nov 1 16:58:00 EST 2002
I had a similar problem once. Try this instead:
rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/.
/mlinkfam/extract/sccs/pa
The only change was "*" to ".".
On Fri, 01 Nov 2002 11:36:56 -0500 "Chaturvedi.Rajesh" <Rajesh.Chaturvedi at igt.com> wrote:
> Hello,
>
> Any help on the following issue will be appreciated.
>
> How do I delete files or directories in my first level of directory that
> is
> specified as host. Here is an example :
>
> rsync -avz --delete ${SOURCE_HOST}:/mlinkfam/extract/sccs/pa/*
> /mlinkfam/extract/sccs/pa
>
> Giving above command I find redundant files or directory not getting
> deleted
> from the first level of target directory /mlinkfam/extract/sccs/pa.
> However,
> files or directories do get deleted from subdirectories
> /mlinkfam/extract/sccs/pa/qa or /mlinkfam/extract/sccs/pa/field.
>
>
> Thanx,
>
> Raj
> --
> To unsubscribe or change options:
> http://lists.samba.org/mailman/listinfo/rsync
> Before posting, read:
> http://www.tuxedo.org/~esr/faqs/smart-questions.html
>
------------------------------------------------------------------------
Dan Ramaley
Digital Media Library Specialist
(515) 271-1934
Cowles Library 140, Drake University
More information about the rsync
mailing list