Народ, как можно wget скормить файло с сылками и заставить его качать их поочередно, т.е. пока предыдущею не докачал, другую не начанал. Или посоветуйте другой менеджер закачки (для консоли)
Аха, мне тоже как-то раз понадобилось такое сделать.
Сначала надо создать файл с URL'ами. Если уже есть,
то хорошо (это, кстати, может быть не только текстовый,
но и HTML файл). Если нет, то создаем примерно таким скриптиком:
-------------[ начало ]--------------
#!/bin/bash
i=1
while [ $i != 260 ]
do
echo http://pupsik.ru/photo/asi/archive/$i.jpg >> list
i=`expr $i + 1`
done
-----------[ конец ]-----------
Ну а теперь качаем:
wget -i list
То есть весь прикол в опции -i, после которой указывается файл
со ссылками.
man wget:
-i file
--input-file=file
Read URLs from file, in which case no URLs need to be
on the command line. If there are URLs both on the
command line and in an input file, those on the com-
mand lines will be the first ones to be retrieved.
The file need not be an HTML document (but no harm if
it is)---it is enough if the URLs are just listed
sequentially.
However, if you specify --force-html, the document
will be regarded as html. In that case you may have
problems with relative links, which you can solve
either by adding "<base href="url">" to the documents
or by specifying --base=url on the command line.