LinuxQuestions.org
Visit Jeremy's Blog.
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 02-10-2010, 09: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: 203Reputation: 203Reputation: 203
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
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
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, 09:32 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
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
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
edit: wrong post
 
Old 02-11-2010, 07:40 AM   #5
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
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, 11:41 AM   #6
lumak
Member
 
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
 
  


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
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

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

All times are GMT -5. The time now is 06:16 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