bugGNU Wget - Bugs: bug #20483, --min-size and --max-size


bug #20483: --min-size and --max-size

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Sat 14 Jul 2007 08:00:33 PM UTC  
Category: Feature RequestSeverity: 1 - Wish
Priority: 2Status: None
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: NoneOperating System: None
Reproducibility: NoneFixed Release: None
Planned Release: 1.15Regression: None
Work Required: 0 - HoursPatch Included: Yes

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 15 Dec 2014 04:05:10 PM UTC, comment #3:

I am very interested by a "--max-size" options based on HTTP Content-Length. In my case I don't need to have different behavior on HTML and non HTML files.
Note the "gname.org" website seems to have closed and I can't get any patch on it.

Wed 20 Feb 2008 07:51:03 PM UTC, comment #2:

Moving to 1.12 target because a patch exists.

Micah Cowan <micahcowan>
Wed 01 Aug 2007 12:16:15 AM UTC, comment #1:

A more generic mechanism than "non-HTML files" may be desired... but OTOH we don't want to complicate this overly much.

Micah Cowan <micahcowan>
Sat 14 Jul 2007 08:00:33 PM UTC, original submission:

From http://article.gmane.org/gmane.comp.web.wget.patches/2140 , where you will find changelogs for this and another patch.

patch-http provides two new options, --min-size (-s)
and --max-size (-M), although the shortcuts could
obviously be changed. Non-HTML files that don't fit
these constraints (expressed in kB) will simply not be
retrieved. This relies on the Content-Length HTTP
header and will not work for FTP. This is quite useful
when retrieving jpeg images from a site to avoid
thumbnails for instance, as explained in the related
documentation paragraph.

Micah Cowan <micahcowan>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by micahcowan (Submitted the item)

    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 14 Apr 2008 04:19:16 AM UTCmicahcowanPlanned Release1.12=>1.15
    Wed 20 Feb 2008 07:51:03 PM UTCmicahcowanPlanned Release1.15=>1.12
    Sun 27 Jan 2008 04:35:29 AM UTCmicahcowanPlanned Release1.12=>1.15
    Wed 01 Aug 2007 12:16:15 AM UTCmicahcowanPriority5 - Normal=>2
    Fri 20 Jul 2007 11:51:22 PM UTCmicahcowanWork RequiredNone=>0 - Hours
    Fri 20 Jul 2007 07:17:11 AM UTCmicahcowanPlanned ReleaseNone=>1.12

    Back to the top

    Powered by Savane 3.1-cleanup1