Solved

Using wget to mirror a static website

Posted on 2008-06-16
4
534 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
[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: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

Several part series to implement Internet Explorer 11 Enterprise Mode
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

739 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