Solved

Using wget to mirror a static website

Posted on 2008-06-16
4
537 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:Pétur Ingi Egilsson
[X]
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
4 Comments
 
LVL 17

Expert Comment

by:owensleftfoot
ID: 21794889
0
 
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.
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: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
0

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