LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2003, 07:59 PM   #1
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
wget & --exclude-directories


Hi Guys!

Not exactly a Slackware-question,
but I thought you guys would be the
most likely to understand what I'm up to :)

I want to "roll my own" Slack 8.1 install-CD,
and for that I wanted to get most of the bits
& pieces from one of the mirrors ...

I seem to be to stupid to my wget -command
right...

Whatever I did - it ends up d/ling stuff I didn't
want. After some googling I found that -X wants
the full path(s) that you don't want (which I find
quite awkward)...

Code:
wget -r -np -X /public.ftp.planetmirror.com/pub/slackware/slackware-8.1/bootdisks,/public.ftp.planetmirror.com/pub/slackware/slackware-8.1/zipslack,/public.ftp.planetmirror.com/pub/slackware/slackware-8.1/source,/public.ftp.planetmirror.com/pub/slackware/slackware-8.1/pasture,/public.ftp.planetmirror.com/pub/slackware/slackware-8.1/extra http://public.ftp.planetmirror.com/p...slackware-8.1/
Any ideas what else to try?

Cheers,
Tink
 
Old 07-11-2003, 04:48 AM   #2
Noryungi
Member
 
Registered: Jul 2003
Location: --> X <-- You are here.
Distribution: Slackware, OpenBSD
Posts: 305

Rep: Reputation: 53
Do the reverse: put everything that you *want* to download in a file and launch wget, giving it that file as an argument.

Here is what I did recently:

Code:
wget --no-directories --output-file=wget.log --verbose --tries=5 --input-file=download.txt
In the file named "download.txt", I just wrote down everything that I wanted to download.

Does this help?
 
Old 07-11-2003, 12:11 PM   #3
tobyl
Member
 
Registered: Apr 2003
Location: uk
Distribution: slackware current
Posts: 768

Rep: Reputation: 64
Or maybe a perusal of the swaret code might come up with something - I know there are exclude options in it
 
Old 07-20-2003, 08:30 PM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067

Original Poster
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
K, I have my Slackware 8.1 directories on HDD,
thanks guys :)

Now, the next step: how (where?) do I modify the
setup-script? I've understood the concept of the
tagfiles, and how to use them in an (semi-)automated
installation, but would like to go further ... :)

Googling (and google/groups) didn't help a lot. :}


Cheers,
Tink
 
Old 07-20-2003, 10:02 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067

Original Poster
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
Never mind, googled some more ;)

Blessed be that thesaurus :D

Cheers,
Tink
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget --exclude-directories option broken? (fc2) fsbooks Fedora 3 06-20-2009 06:08 PM
Tar won't exclude directories. yougene Slackware 9 12-01-2005 09:32 AM
tar --exclude --exclude-from cefn Linux - Software 4 10-11-2005 07:31 PM
wget & Slack patches revenant Linux - Software 2 08-30-2004 12:53 PM
Exclude directories when backing up with 'tar'? wolfpeach Linux - Newbie 2 06-28-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:09 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration