Re: wget

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Todd Millecam
Date:  
To: Main PLUG discussion list
Subject: Re: wget
well, I got that from looking at the links provided on the page. . .


if you don't want it to overwrite the file, then you could force each file
to be unique via something like:

-O `date`.jpg

Maybe try adding in a -c before the -r and see if that fixes it.

I think wget might have a --no-clobber option, but I'd have to check

I really was just giving you the 20-second version of help, given that I'm
fairly familiar with wget.

curl (as opposed to wget) might have the options you're looking for and be
able to do this too.

On Tue, Jan 27, 2015 at 1:33 PM, Michael Havens <> wrote:

> okay, I just tried:
>
> wget -r -A jpg -P /tmp/
> http://sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/
>
> and what it would do is download an image and then delete it and then
> download the next image:
>
> --2015-01-27 13:18:18--
> https://sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/2.114.jpg?attredirects=0&d=1
> Connecting to sites.google.com (sites.google.com)|216.58.216.14|:443...
> connected.
> HTTP request sent, awaiting response... 302 Moved Temporarily
> Location:
> https://e572cad7-a-62cb3a1a-s-sites.googlegroups.com/site/thebookofgimp/home/chapter-2-photograph-retouching/2.114.jpg?attachauth=ANoY7cqq7hbomlkTx8aJaCXRGWolYhXoeGBeFpyFEyJx84qQqvdI2XVJw_sHbYe5wsLNzN1y23sgAcolW4NQR0lDCBUiPi-aXXFhYxdbJxaVDJyssDstAzZziogkwdhzQCMJtNd8ZV2FrukKPlRFC--STP_GbNoG7_uBHbmpppMai_UdgtABxvrqEC3r4WhqyrIQgpAjCep2Mt2dvnlLvbr2Pq6WtD-UYOk3Ts2Q2dnx6s_E6o0XrKjIUkiqcWVnhl1Q--BefMkt&attredirects=0&d=1
> [following]
> --2015-01-27 13:18:18--
> https://e572cad7-a-62cb3a1a-s-sites.googlegroups.com/site/thebookofgimp/home/chapter-2-photograph-retouching/2.114.jpg?attachauth=ANoY7cqq7hbomlkTx8aJaCXRGWolYhXoeGBeFpyFEyJx84qQqvdI2XVJw_sHbYe5wsLNzN1y23sgAcolW4NQR0lDCBUiPi-aXXFhYxdbJxaVDJyssDstAzZziogkwdhzQCMJtNd8ZV2FrukKPlRFC--STP_GbNoG7_uBHbmpppMai_UdgtABxvrqEC3r4WhqyrIQgpAjCep2Mt2dvnlLvbr2Pq6WtD-UYOk3Ts2Q2dnx6s_E6o0XrKjIUkiqcWVnhl1Q--BefMkt&attredirects=0&d=1
> Connecting to e572cad7-a-62cb3a1a-s-sites.googlegroups.com (
> e572cad7-a-62cb3a1a-s-sites.googlegroups.com)|74.125.28.137|:443...
> connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 4339214 (4.1M) [image/jpeg]
> Saving to: ‘/tmp/
> sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/2.114.jpg?attredirects=0&d=1
> ’
>
> 100%[======================================>] 4,339,214    233KB/s   in
> 18s

>
> 2015-01-27 13:18:37 (230 KB/s) - ‘/tmp/
> sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/2.114.jpg?attredirects=0&d=1’
> saved [4339214/4339214]
>
> Removing /tmp/
> sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/2.114.jpg?attredirects=0&d=1
> since it should be rejected.
>
> It was funny, I had the file manager opened to the page it was downloading
> to and something would appear and as soon as the download was complete it
> would disappear. Then, after a canceled wget it would show half a picture.
>
> :-)~MIKE~(-:
>
> On Tue, Jan 27, 2015 at 1:11 PM, Michael Havens <> wrote:
>
>> How did you find:
>>
>>
>> https://sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/
>>
>>
>> from the given:
>>
>>
>> http://the-book-of-gimp.blogspot.com/p/chapter-2-photograph-retouching.html
>>
>>
>> :-)~MIKE~(-:
>>
>> On Tue, Jan 27, 2015 at 1:05 PM, Michael Havens <> wrote:
>>
>>> Todd.... I am so glad I asked the question. I wondered if there was a
>>> way to do the 'A' option. Now I know! So cool.
>>>
>>> :-)~MIKE~(-:
>>>
>>> On Tue, Jan 27, 2015 at 12:26 PM, Todd Millecam <>
>>> wrote:
>>>
>>>> wget -r -A jpg -P /tmp/
>>>> http://sites.google.com/site/thebookofgimp/home/chapter-2-photograph-retouching/
>>>>
>>>> will put them all in /tmp/
>>>> sites.google.com/bookofgim/home/chapter-2-photograph-retouching
>>>>
>>>> On Tue, Jan 27, 2015 at 12:12 PM, Michael Havens <>
>>>> wrote:
>>>>
>>>>> H0w can I us wget to retrieve the photos here
>>>>> <http://the-book-of-gimp.blogspot.com/p/chapter-2-photograph-retouching.html>.
>>>>> I tried:
>>>>>
>>>>> wget -r
>>>>> http://the-book-of-gimp.blogspot.com/p/chapter-2-photograph-retouching.html
>>>>>
>>>>> but it didn't download the pictures. It downloaded a bunch of web
>>>>> pages.
>>>>> :-)~MIKE~(-:
>>>>>
>>>>> ---------------------------------------------------
>>>>> PLUG-discuss mailing list -
>>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Todd Millecam
>>>>
>>>> ---------------------------------------------------
>>>> PLUG-discuss mailing list -
>>>> To subscribe, unsubscribe, or to change your mail settings:
>>>> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>>>>
>>>
>>>
>>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss
>




--
Todd Millecam
---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss