LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-08-2004, 08:55 AM   #1
shishimo
Member
 
Registered: Jun 2003
Distribution: Fedora Core 3, so tasty
Posts: 62

Rep: Reputation: 15
wget any version of a file?


i am writing a script that will automatically install a bunch of packages from a web server. packages will be updated, but i want to have the script "know" to download a file. for example, if glibc is updated on the server, the filename will be glibc-2.3.2-i486-1.tgz i don't want to haveto update the script or send a huge command line argument to install. how do i tell wget to get a glibc*.tgz file?
 
Old 07-08-2004, 01:37 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
If you wget from an ftp server, it can glob the *. If you wget an http server, it can't.

wget ftp://ftp.somewhere.com/download/glibc*.tgz
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
where does konqueror and wget downloaded file go eatmars Linux - Software 2 08-28-2005 10:11 PM
wget a random file on phone server sub_moa Programming 16 07-01-2005 05:56 PM
File size limit exceeded with wget jimdaworm Slackware 1 04-24-2005 03:06 AM
wget (windows version) and proxies irfanhab Linux - Software 3 05-14-2004 07:12 AM
wget problem - 403 error but I can dl the file in windows Mytherall Linux - Newbie 1 02-27-2004 10:04 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:01 PM.

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