Re: Wget syntax to download a tutorial

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Piero,

Thanks for your advice.

On Tue, 2003-09-02 at 14:32, Piero Calucci wrote:
> On Tue, 2003-09-02 at 05:32, Stephen Liu wrote:
> > Hi all folks,
> > 
> > I tried with following syntax to download
> > 
> > http://www.linuxplanet.com/linuxplanet/tutorials/3174/1
> > (Linux Partition HOWTO which consists several pages)
> 
> wget -r -k --no-parent
> http://www.linuxplanet.com/linuxplanet/tutorials/3174/1
> 
> -k is "convert links"


I must drop -r.  

I made following test;

$ mkdir /home/satimis/LinuxPartitionHowTo
$ cd /home/satimis/LinuxPartitionHowTo

$ wget -r -k --no-parent
> http://www.linuxplanet.com/linuxplanet/tutorials/3174/1

It downloaded many files including all tutorials

[satimis@localhost LinuxPartitionHowTo]$ ls
listman.redhat.com  securityfocus.com  www.linuxplanet.com
news.com.com        www.google.com     www.redhat.com
sardonix.org        www.google.com.hk  www.wirex.com

[satimis@localhost LinuxPartitionHowTo]$ cd ./www.linuxplanet.com/
[satimis@localhost www.linuxplanet.com]$ ls
copyfloppy.bin  graphics  linuxplanet  robots.txt

[satimis@localhost www.linuxplanet.com]$ cd ./linuxplanet/
[satimis@localhost linuxplanet]$ ls
email       linuxplanet  newsarchives  previews  reports  subjects 
tutorials
interviews  news         opinions      print     reviews  tips

[satimis@localhost linuxplanet]$ cd ./tutorials/
[satimis@localhost tutorials]$ ls
1019  1241  1454  203   2100  2607  3165  4161  4342  4445  4809  929
1046  1251  1527  2038  211   2684  3166  4199  4349  4472  4825  935
1096  1282  1717  2047  2116  2926  3174  4232  4363  4481  827   936
1132  1374  1987  207   212   3093  3196  4248  4400  4505  857   981
1159  1445  201   208   2444  3154  3205  4269  4421  4712  872   986
1224  1447  202   210   2589  3163  3206  4323  4439  4724  894

[satimis@localhost tutorials]$ cd ./3174/
[satimis@localhost 3174]$ ls
1  2  3  4  5  6  7  8

[satimis@localhost 3174]$ cd ./1
[satimis@localhost 1]$ ls
index.html


Another thing I could not understand.  If I want to execute following
command to remove all download files I must disconnect the broadband;

[satimis@localhost LinuxPartitionHowTo]$ rm -r listman.redhat.com/
securityfocus.com/ sardonix.org/ news.com.com/ www.google.com
www.google.com.hk/ www.redhat.com/ www.wirex.com/ www.linuxplanet.com/

With the broadband cable connected, they come back again after removal.

Do you know what is the reason behind.

B.Regards
Stephen


To Get Your Own iCareHK.com Email Address?  Go To www.iCareHK.com.


-- 
Psyche-list mailing list
Psyche-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux