Solved

Using wget to mirror a static website

Posted on 2008-06-16
4
532 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

Migrating Your Company's PCs

To keep pace with competitors, businesses must keep employees productive, and that means providing them with the latest technology. This document provides the tips and tricks you need to help you migrate an outdated PC fleet to new desktops, laptops, and tablets.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
#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ā€¦
Google currently has a new report that is in beta and coming soon to Webmaster Tool accounts. This Micro Tutorial will highlight new features for Google Webmaster Tools.

831 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