Solved

Using wget to mirror a static website

Posted on 2008-06-16
4
533 Views
Last Modified: 2008-06-16
Hello

I'm trying to use wget to mirror website with static content.

wget -r www.site.zyx

It will download all files from the webpage, except those linked to from within .css files.

What am i doing wrong?
0
Comment
Question by:PeturIngiEgilsson
  • 2
4 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 21794889
0
 
LVL 10

Author Comment

by:PeturIngiEgilsson
ID: 21795225
I tried the -m switch.. same problem.
wget does not look into the .css files it gets to check wether they are linking to other files or not.
0
 
LVL 3

Accepted Solution

by:
IgorAL earned 500 total points
ID: 21799504
Use the newest/lastest wget, see the bug report
https://savannah.gnu.org/bugs/index.php?20395 
This was fixed in this April.
0
 
LVL 10

Author Comment

by:PeturIngiEgilsson
ID: 21799513
I'm using Debian GNU/Linux.. according the the repos the latest stable version of  Wget is version 1.10.2
Updated it and problem solved.

thanks IgorAL
0

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question