Re: fmirror/mirror/lftp ?
On Mon, Mar 15, 1999 at 08:32:46AM -0600, Ian Keith Setford wrote:
>
> I would like to mirror the unstable tree at work. I have tried to
> accomplish this with several tools (fmirror/mirror/lftp) but I can't
> figure out how to get exactly what I want.
>
> When I use fmirror (which I like), most of what is downloaded are symbolic
> links to "slink" which are not useful to me. I would like to download the
> actual target and not the symbolic link (remember, I only want unstable.)
>
> When I use lftp, I can use the "--dereference" to download the file
> instead of the synlink but I have to manually change
> directories to only the unstable trees (binary-all|binary-i386.)
>
> Can someone offer some advice on how to mirror *only* the unstable tree?
>
> TIA.
>
> -Ian
>
> ______________________________________________________________________
> Ian Setford ians@unt.edu
>
> PGP = F2 92 50 E3 CD D7 A2 D9 C4 CE 08 A6 98 E0 0F 58
>
I've successfully used mirror for this purpose with the following
packages file (i386 binary only):
package=UnstableMain
#
comment=Debian Unstable Main
#
site=ftp.mi.us.debian.org
remote_dir=/debian/dists/unstable/main/binary-i386
flags_recursive=-lRatL
local_dir=/pub/debian/dists/unstable/main/binary-i386
mail_to=root
disconnect=true
#
compress_patt=Packages(-Master)?
#
max_delete_files=100%
do_deletes=true
package=UnstableDisks
#
comment=Debian Unstable Install Disks
#
site=ftp.mi.us.debian.org
remote_dir=/debian/dists/unstable/main/disks-i386/current
flags_recursive=-lRatL
local_dir=/pub/debian/dists/unstable/main/disks-i386/current
mail_to=root
disconnect=true
#
max_delete_files=100%
do_deletes=true
package=UnstableContrib
#
comment=Debian Unstable Contrib
#
site=ftp.mi.us.debian.org
remote_dir=/debian/dists/unstable/contrib/binary-i386
flags_recursive=-lRatL
local_dir=/pub/debian/dists/unstable/contrib/binary-i386
mail_to=root
disconnect=true
#
compress_patt=Packages(-Master)?
#
max_delete_files=100%
do_deletes=true
package=UnstableNonFree
#
comment=Debian Unstable Non-Free
#
site=ftp.mi.us.debian.org
remote_dir=/debian/dists/unstable/non-free/binary-i386
flags_recursive=-lRatL
local_dir=/pub/debian/dists/unstable/non-free/binary-i386
mail_to=root
disconnect=true
#
compress_patt=Packages(-Master)?
#
max_delete_files=100%
do_deletes=true
As I said, this only gets unstable binary-i386 packages flattening all
the symlinks (but if this is what you want, it works great).
Mike
--
Mike Merten
ironfoot@popaccount.com
ICQ# 28460680
Reply to: