From: Mikhail Ramendik <mr@ramendik.ru>
To: Community@altlinux.ru
Subject: [Comm] Борьба с wget
Date: Tue, 31 Aug 2004 22:20:27 +0400
Message-ID: <1093976427.3010.10.camel@localhost.localdomain> (raw)
Всем привет!
Эх, тяжело с wget'ом...
А справиться с задачей очень хочется. Поэтому надеюсь на помощь
сообщества. (У меня правда дистрибутив не ALT, но это вроде как значения
не имеет; wget 1.8.2).
Оказывается, если идёт рекурсивное скачивание и некий файл попадает под
-R/-X , wget его скачивает, потом стирает, но потом скачивает те файлы,
на которые в нём были линки!
То есть я не могу быть на 100% уверен - логов wget не ведёт и не
сообщает, откуда взял линк на какой файл. Но я вижу, что качаются те
файлы, которые качать не надо, и вижу, что ни в одном сохранённом файле
линков на них нет. Значит, он таки взял линки из других файлов и стёр
их...
Вопрос - как заставить его этого не делать? (Смысл - скачать только
часть энциклопедии на krugosvet.ru ; структура там хитрая и поэтому
простые ограничения по каталогам не работают). В идеале - не качать то
что попадает под -R/-X ; как минимум - не доставать оттуда линки.
И ещё вопрос. Предположим, wget был запущен с опцией -k, много что
нокачал и я его тормознул. Можно ли теперь как-то заставить его
выполнить опцию -k, то есть поправить линки, без того чтобы всё
остальное докачивать? (Виндовый Teleport Pro такое умеет; неужто Linux
хуже?).
С уважением, Михаил Рамендик
next reply other threads:[~2004-08-31 18:20 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-08-31 18:20 Mikhail Ramendik [this message]
2004-09-01 4:26 ` Mike Lykov
2004-09-01 11:41 ` [Comm] " Michael Shigorin
2004-09-02 6:39 ` php-coder
2004-09-02 8:15 ` Artem K. Jouravsky
2004-09-03 14:23 ` Денис Смирнов
2004-09-03 15:44 ` Michael Shigorin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1093976427.3010.10.camel@localhost.localdomain \
--to=mr@ramendik.ru \
--cc=Community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git