Re: mirror
John Leget wrote:
> HI all,
>
> Any mirror users out there, how do i force it to download the files that
> symlink's on a remote site point to, ive had no success, it just ignores
> them.
Normally mirror will only add the link if the file it points to
is also available on the local system. This behaviour can be
modified:
make_bad_symlinks
If true, symlinks will be made to invalid
(non-existent) pathnames. Under older ver-
sions this defaulted to true. [false]
follow_local_symlinks
Regexp of pathnames that should be followed
to the file or directory they point at.
This makes local symlinks invisible to mir-
ror. ['']
[..]
If the remote site contains symlinks that you want to
"flatten out" into the corresponding files, then do this
by changing the flags passed to the remote ls:
flags_recursive+L
or
flags_nonrecursive+L
First test this by trying a ls -lRatL on the remote site
under the ftp command to check whether the remote file-
store has any symlink loops.
Regards,
Joey
PS: man mirror could be your friend...
--
If you come from outside of Finland, you live in wrong country.
-- motd of irc.funet.fi
Please always Cc to me when replying to me on the lists.
Reply to: