Gentoo Archives: gentoo-user

From: Ow Mun Heng <Ow.Mun.Heng@×××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Downloading packages from a txt file
Date: Wed, 24 Aug 2005 03:13:27
Message-Id: 1124851845.5007.13.camel@neuromancer.home.net
In Reply to: Re: [gentoo-user] Downloading packages from a txt file by Grant
1 On Sat, 2005-08-20 at 08:32 -0700, Grant wrote:
2
3 > Do you know how to get 'emerge -fp world' to return only one path per
4 > file or get wget to use the %20-separated alternate paths properly?
5 >
6
7 Try this.. it's a 2 step process, I believe it can be done in 1 step
8 but, I'll let you figure it out.
9
10 emerge -fp mono 2> /tmp/link.txt >&1
11 cat /tmp/link.txt | cut -d" " -f1 | xargs wget -c
12
13 Note : If the 1st link doesn't work, then it won't try another mirror.
14
15 Be aware
16
17 --
18 Ow Mun Heng
19 Gentoo/Linux on DELL D600 1.4Ghz 1.5GB RAM
20 98% Microsoft(tm) Free!!
21 Neuromancer 10:50:09 up 3 days, 15:54, 5 users, load average: 2.45,
22 2.31, 2.43
23
24
25 --
26 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Downloading packages from a txt file Nick Rout <nick@×××××××.nz>