wget and slackware download
I want to download the new release of slackware, but don't need these source/ directories. They are everywhere, though.. How can I ignore them via the wget command line? With them the download grows two times bigger..
|
say you wanna mirror this address, for example:
ftp://ftp.slackware.at/slackware-10.0/ normally, you'd do something like: wget --mirror ftp://ftp.slackware.at/slackware-10.0 but since you don't want the directory called "source", you can exclude it like this: wget --mirror --exclude-directories=slackware-10.0/source ftp://ftp.slackware.at/slackware-10.0 and if you'd wanna exclude a whole bunch of directories, it could look something like this (for example): wget --mirror --exclude-directories=\ slackware-10.0/bootdisks,\ slackware-10.0/extra,\ slackware-10.0/pasture,\ slackware-10.0/rootdisks,\ slackware-10.0/source,\ slackware-10.0/testing,\ slackware-10.0/zipslack,\ slackware-10.0/slackware/gnome,\ slackware-10.0/slackware/kde,\ slackware-10.0/slackware/kdei,\ slackware-10.0/slackware/patches/source \ ftp://ftp.slackware.at/slackware-10.0 do a man wget for more info... good luck... |
Just using '--exclude-directories=source', or even '-X source', will exclude _all_ directories named source......... :)
|
Quote:
To remove all directories named source, one must use wildcards like Code:
--exclude-directories '*/source' |
The OP could probably just download the CD1 and CD2 images , I think.
|
All times are GMT -5. The time now is 03:34 AM. |