1 |
On 4 Aug 2007, at 00:12, Richard Marz wrote: |
2 |
> ... |
3 |
>> Networkless box: |
4 |
>> $ emerge -fpv world > foo.txt |
5 |
>> |
6 |
>> Sneaker foo.txt to networked box and: |
7 |
>> $ for foo in foo.txt ; do wget -c -nc -P /usr/portage/distfiles/ |
8 |
>> $foo ; done |
9 |
>> |
10 |
>> Should approximately do the trick. |
11 |
>> |
12 |
>> Stroller. |
13 |
> |
14 |
> Thanks for the help, Stroller. But that command did not work so well. |
15 |
> wget translated $foo to foo.txt instead of reading line line in |
16 |
> foo.txt. |
17 |
> I managed to get wget to fetch the files in foo.txt by running: |
18 |
> |
19 |
> cat foo.txt |xargs -- wget -c -nc -P /usr/portage/distfiles/ - |
20 |
|
21 |
I think that was a copy & paste error on my part. |
22 |
|
23 |
I think the command I ended up using was: |
24 |
$ for foo in `cat foo.txt` ; do wget -c -nc -P /usr/portage/ |
25 |
distfiles/ |
26 |
|
27 |
But I'm glad you got it sorted in the end. |
28 |
|
29 |
Stroller. |
30 |
-- |
31 |
gentoo-user@g.o mailing list |