LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   wget any version of a file? (https://www.linuxquestions.org/questions/linux-general-1/wget-any-version-of-a-file-202573/)

shishimo 07-08-2004 08:55 AM

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?

ranger_nemo 07-08-2004 01:37 PM

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


All times are GMT -5. The time now is 07:21 AM.