LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 02-10-2010, 10:13 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Command to create local mirror of Alien Bob's kde4.4.0 packages


I know there has to be an easier way to do this than to download each file individually. On an ftp site I would just use
PHP Code:
wget ftp://path/to/directory/with/files/* 
But with those files being on an HTTP server and wget not supporting HTTP file globbing I'm at a loss.

What is a one step method to recursively download all files in a directory on an HTTP server?
 
Old 02-10-2010, 10:26 PM   #2
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,225

Rep: Reputation: 187Reputation: 187
from Alien Bob's blog

Instructions are for the 64-bit packages, I think you can figure out how to change them if you want the 32-bit versions:

1. Download everything in the directory http://alien.slackbook.org/ktown/4.4.0/x86_64/ :
# lftp -c "open http://alien.slackbook.org/ktown/4.4.0/ ; mirror x86_64"
2. Change into the directory “x86_64″ which has just been created in your current directory:
# cd x86_64
3. Remove the no longer required kdelibs-experimental package if you still have that installed. It is part of KDE 4.3.x (i.e. Slackware 13.0 did not have this package). If you do not have kdelibs-experimental on your system, you will get a harmless error message that you can ignore:
# removepkg kdelibs-experimental
4. Install/upgrade the KDE 4.4 dependencies:
# upgradepkg --reinstall --install-new deps/*.t?z
5. Install/upgrade KDE4.4.0 packages:
6. # upgradepkg --reinstall --install-new kde/*.t?z


You can also use wget like so..

wget -r -np -nd http://example.com/packages/
 
1 members found this post helpful.
Old 02-10-2010, 10:32 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Thank you. I hadn't seen the blog page and I didn't know of the lftp command. I'll need to read up on lftp.
 
Old 02-11-2010, 02:45 AM   #4
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
edit: wrong post
 
Old 02-11-2010, 08:40 AM   #5
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,517

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
I used the command below (which maintains the tree structure but skips the stuff in /kdei) and then manually downloaded the internationalisation package that I wanted from /kdei.
Code:
wget -r -nH --cut-dirs=3 -np -R *l10n*,index* http://alien.slackbook.org/ktown/4.4.0/x86_64/
Just another way to skin a cat
 
Old 02-11-2010, 12:41 PM   #6
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 109Reputation: 109
thanks everybody...

I just used gftp and copied the files that way x.x
 
  


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
KDE 4.4.0 on Alien Bob's site samac Slackware 64 04-20-2010 08:22 AM
Downloading patches with Alien Bob's script. glore2002 Slackware 8 09-15-2009 09:33 PM
Alien Bob's Slackware-13 mini iso, what does it contain? linus72 Slackware 2 08-31-2009 03:42 AM
Alien Bob's VLC Build + Slamd64 Question Daedra Slackware 10 02-22-2009 04:40 PM
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 06:33 PM


All times are GMT -5. The time now is 05:07 PM.

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