Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 14:21:59 +0300
From:      "Alexander V. Lukyanov" <lav@netis.ru>
To:        "Janine C.Buorditez" <johann@broadpark.no>
Cc:        lftp@uniyar.ac.ru, questions@freebsd.org
Subject:   Re: [lftp] How to make mirror follow symlinks?
Message-ID:  <20030226112159.GA26540@swing.yars.free.net>
In-Reply-To: <20030226102456.6ba049cf.johann@broadpark.no>
References:  <20030226102456.6ba049cf.johann@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 26, 2003 at 10:24:56AM +0100, Janine C.Buorditez wrote:
> Can somebody please tell me whether lftp is capable of mirroring symlinks?
>
> I'm inside a directory containing hundreds of other symlinked directories.
> Now, I want to mirror all of that directory so I don't have to enter it and
> manually mirror each and every symlink there is.

If the ftp server supports LIST -L option, then do in lftp:

   set ftp:list-options "-La"

BTW, beware of infinite recursion.

If the symlinks are to files only, then `mirror -L' will work nicely.

--
   Alexander.                      | http://www.yars.free.net/~lav/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226112159.GA26540>