On Mon, Nov 13, 2000 at 08:20:59PM +0000, asmith wrote:
> Hi folks
>
> I would appreciate a little help.   I have attached a little script which is
> intended to transfer only source file files ( .cc,.h, etc) from a SCO Unix box
> to aLinux box leaving all the (.o and binaries behind).  Unfortunately it
> transfers every file.   Am I doing something stupid ?

Yes:

    #echo "- *">  fex
    :>fex

This results in no --exclude '*'.

Chances are if you put that in there you'll get nothing.  That's because
if you use --exclude '*' you need to explictly include all parent directories
of files you want first.  A lot of people do that with --include '*/' but
that may also pull in directories you don't want.

- Dave Dykstra



Reply via email to