LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-13-2004, 10:34 AM   #1
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Rep: Reputation: 30
wget


this is related to http://www.linuxquestions.org/questi...hreadid=254317



I am now trying to learn wget by testing on my own site.
index.html is my home page
it is hosted at yahoo


I used wget as below;

wget -o /home/teabear/Documents/test/testfile --http-user=deleted by me --http-passwd=deleted by me http://www.pmcomputing.org/index.html

and got the following output in /home/teabear/Documents/test/testfile ;

--09:03:09-- http://www.pmcomputing.org/index.html
=> `index.html'
Resolving www.pmcomputing.org... 66.218.79.155, 66.218.79.147, 66.218.79.148, ...
Connecting to www.pmcomputing.org[66.218.79.155]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11,069 [text/html]

0K .......... 100% 107K

09:03:09 (106.90 KB/s) - `index.html' saved [11069/11069]


What might this mean. It would seem I am heading in the right direction but I haven't been able to find "index.html" (the home page of my site) saved anywhere yet locally and am starting to get lost in the man pages

Thanks for any replies,
 
Old 11-13-2004, 10:45 AM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
If you don't specify a directory for it to be saved to, its going to place it in your pwd (present working directory) where you ran the wget command.
 
Old 11-13-2004, 10:45 AM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984Reputation: 1984
it will be in your current directory.
Code:
ls index.html
 
Old 11-13-2004, 11:03 AM   #4
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Original Poster
Rep: Reputation: 30
Doh!
My retardedness.

Thank you very much for your help,
 
Old 11-13-2004, 11:59 AM   #5
toastermaker
Member
 
Registered: Oct 2003
Location: coastal alabama, united states
Distribution: Mandrake 10.0 official, slackware 9.1
Posts: 219

Original Poster
Rep: Reputation: 30
When is a page time stamped? Is it upon being updated?

Is my understanding correct that using the <-N> option with wget could keep a web page from being saved by wget if it has not been updated since a certain time?

Thank you for your replies,

<Edit>
Ok some trial and error has answered this question I think, but I am sure I'll be back when it comes to putting it all toghther.

Thanks again for the help,

Last edited by toastermaker; 11-13-2004 at 12:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
can't wget!! aru_04 Linux - General 5 08-13-2005 06:07 AM
wget noir911 Linux - Newbie 8 07-30-2005 09:57 AM
wget Harp00 Linux - Newbie 4 11-15-2004 08:27 PM
wget filex Linux - Security 4 09-08-2004 09:02 PM
wget know how ksd Slackware 16 10-19-2003 08:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:16 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration