Re: [Bug-wget] Limit number of links retrieved with --mirror

2013-05-31 Thread Tim Rühsen
Am Dienstag, 28. Mai 2013 schrieb David Linn:
> Is there a way I can limit the number of links retrieved via wget -m ?
> For example, just the first 100 links in a website.

Yes, having a *nix shell and grep/egrep around you can:

wget -m www.your-domain.org 2>&1|egrep -m 100 'saved|no newer than'

If you also want some output on the screen, see 'man tee'.

Regards, Tim



Re: [Bug-wget] Compatibility

2013-05-31 Thread Giuseppe Scrivano
Hi,

"Towle, Jonathan J."  writes:

> We are running various versions of wget on our servers.
>
> On the server we need to use, we are running the very old version
> 1.9.1.  We could upgrade either to 1.11.4, which we have on most of
> our servers, or the latest version.
>
> Our operate team is afraid to upgrade because existing production jobs
> are running 1.9.1.  I assured them that it is almost certain that the
> newer versions are backwards-compatible, and nothing will stop
> working.
>
> Can someone confirm that all these versions are backwards-compatible?

we have always tried to be careful and keep backwards-compatibility, but
I know at least of a change in the latest releases that breaks it.
Newest releases need that you specify --trust-server-names to get the
same behaviour of older ones.

There might be other changes that break the compatibility, but I am not
aware of any.



> This transmission may contain information that is privileged,
> confidential, legally privileged, and/or exempt from disclosure
> under applicable law.  If you are not the intended recipient, you
> are hereby notified that any disclosure, copying, distribution, or
> use of the information contained herein (including any reliance
> thereon) is STRICTLY PROHIBITED.  Although this transmission and
> any attachments are believed to be free of any virus or other
> defect that might affect any computer system into which it is
> received and opened, it is the responsibility of the recipient to
> ensure that it is virus free and no responsibility is accepted by
> JPMorgan Chase & Co., its subsidiaries and affiliates, as
> applicable, for any loss or damage arising in any way from its use.
>  If you received this transmission in error, please immediately
> contact the sender and destroy the material in its entirety,
> whether in electronic or hard copy format. Thank you.

you have sent the e-mail to a public mailing list.

-- 
Giuseppe