bug-wget
[Top][All Lists]
Advanced

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

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


From: Tim Rühsen
Subject: Re: [Bug-wget] Limit number of links retrieved with --mirror
Date: Fri, 31 May 2013 21:08:25 +0200
User-agent: KMail/1.13.7 (Linux/3.8-2-amd64; KDE/4.8.4; x86_64; ; )

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]