Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 02-10-2010, 09:13 PM   #1
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, 09:26 PM   #2
Senior Member
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.2
Posts: 1,414

Rep: Reputation: 287Reputation: 287Reputation: 287
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 :
# lftp -c "open ; 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
1 members found this post helpful.
Old 02-10-2010, 09:32 PM   #3
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, 01:45 AM   #4
Senior Member
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

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

Rep: Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418Reputation: 1418
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.
wget -r -nH --cut-dirs=3 -np -R *l10n*,index*
Just another way to skin a cat
Old 02-11-2010, 11:41 AM   #6
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
thanks everybody...

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


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

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

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