LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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
Posts: 262

Rep: Reputation: 30
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: 743

Rep: Reputation: 50
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: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Original Poster
Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
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: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Original Poster
Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Never mind, googled some more ;)

Blessed be that thesaurus :D

Cheers,
Tink
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 05:45 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration