Re: download de pacotes

2008-09-29 Por tôpico Arthur Furlan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Luiz Noal wrote:
 olá lista

Olá,

 como seria possível baixar pacotes de um repositorio remoto a partir de
 uma lista de pacotes?

for i in `cat lista_pacotes.txt`; do
aptitude download $i
done


- --
Atenciosamente,

Arthur Furlan
[EMAIL PROTECTED]

 grato.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkjhe2oACgkQHiIxAB175Ny/JgCgsh+zcrEdzP04ymt32S8N7WtC
TTUAniwDfcdOdcP1wTOxbex50puo82Ud
=DLwF
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: download de pacotes

2008-09-29 Por tôpico edmarcos
Certa vez fiz isto:
Veja se te serve e customize como necessário.

Este era para baixar na época todos os pacotes do kde 3.4 para debian
 

#!/bin/sh
# edmarcos antonio de souza
# 20050625
# scrip de download de pacotes .deb de servidores http
#

HOST=http://pkg-kde.alioth.debian.org/kde-3.4.1/
DIR=./kde-3.4.1

rm -f ./Packages.gz
wget -c $HOST./Packages.gz

cat ./Packages.gz | gunzip | grep Filename | cut -d: -f2 | sort
 ./lista.txt

for file in $(cat ./lista.txt)
do
wget -c -P $DIR $HOST$file
done

rm -f ./lista.txt

exit 0


Em Seg, 2008-09-29 às 19:57 -0300, Luiz Noal escreveu:
 olá lista
 como seria possível baixar pacotes de um repositorio remoto a partir
 de uma lista de pacotes?
 grato.
 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]