Using wget to mirror a static website

Posted on 2008-06-16
Last Modified: 2008-06-16

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

wget -r

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

What am i doing wrong?
Question by:Pétur Ingi Egilsson
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 17

Expert Comment

ID: 21794889
LVL 10

Author Comment

by:Pétur Ingi Egilsson
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.

Accepted Solution

IgorAL earned 500 total points
ID: 21799504
Use the newest/lastest wget, see the bug report 
This was fixed in this April.
LVL 10

Author Comment

by:Pétur Ingi Egilsson
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

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can use conditional statements using Python.
#Citrix #Internet Explorer #Enterprise Mode #IE 11 #IE 8
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

617 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