I'm trying to download mailing list archives such as
In particular, I have a page and would like to download every file linked from that page which ends with ".txt.gz". Is there a way to restrict wget to do this? Failing that, an alternate approach?
|
I'm trying to download mailing list archives such as In particular, I have a page and would like to download every file linked from that page which ends with ".txt.gz". Is there a way to restrict wget to do this? Failing that, an alternate approach? References |
|||
|
|
|
Try this:
wget \
--recursive \
--no-directories \
--no-parent \
--level 1 \
--accept .txt.gz \
--execute robots=off \
http://lists.cryolist.org/pipermail/cryolist-cryolist.org/
Using long options for readability. |
|||
|
|
|
From
Keeping in mind that the files are linked to in the iFrame lists.cryolist.org/pipermail/cryolist-cryolist.org, the following command will produce the desired results:
Switches
|
|||
|
|
|
Write a bash script, Store all the months in an array, loop though them inserting them in to the wget command at the correct position |
|||
|
|