On Thu, Nov 28, 2002 at 11:51:58AM +0100, Jurrit de Vries wrote:
> If I have 2 dirs, foo/ and bar/ and a file foo.php
>
> What do I do to mirror this, but I want to exclude foo/ ??
>
> If I try it, it will also exclude foo.php, or just mirrors everything!
> Could you explain this, or add some examples to the documentation??
You can try:
mirror -X foo/
or
mirror -x "(^|/)foo/"
------
Ok thnx.. I tried the first, lftp says it is mirroring foo and creates the dir, but
doesnt mirror the files in foo/
Another question, what do I do, of I want to mirror just 1 file in foo/ and exclude
all others?
Jurrit