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" <[EMAIL PROTECTED]> 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 -- To unsubscribe or change options: http://lists.samba.org/mailman/listinfo/rsync Before posting, read: http://www.tuxedo.org/~esr/faqs/smart-questions.html