Rolf Leggewie <[EMAIL PROTECTED]> writes:

> Andrew M. Bishop wrote:
> > Try this patch.  It worked for me on a quick test.

Did it work?

> >>[1] There is a bug in the man page.  The command given is 'wwwoffle-mv
> >>     http/foo http/bar' where it should be 'wwwoffle-mv http/foo
> >>     http:/bar/'.
> 
> > Why do you think that the second argument needs to have a ':' in it
> > and the first one does not?
> 
> The first one refers to the folder to move, there are no subdirectories.
> The second is the host including local path, there might be several
> subdirectories.  It's the difference between referring to a folder
> (slash only) and the full URL-spec.

The problem with your logic is that both URLs must refer to a hostname
only and not the pathname within that host.  This discussion started
because wwwoffle-mv would only move whole hosts from one place to
another.  There is no actual difference between the two URLs given as
arguments to the program.

> Think about it for a minute.  If http://foo/ is mirrored at
> ftp://bar/mirrors/foo/ then you need to say 'wwwoffle-mv http/foo/
> ftp://bar/mirrors/foo/'.  The following two would NOT work as needed to
> merge existing files.
> 
> wwwoffle-mv http/foo/ ftp://bar/               -> top-dir instead of sub
> wwwoffle-mv http/foo/ http://bar/mirrors/foo/  -> wrong protocol

With the new patch you can move URLs under any path to any other
path.  This means that both program arguments should be like URLs and
not like directory names.

-- 
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop                             [EMAIL PROTECTED]
                                      http://www.gedanken.demon.co.uk/

WWWOFFLE users page:
        http://www.gedanken.demon.co.uk/wwwoffle/version-2.8/user.html

Reply via email to