bugGNU Wget - Bugs: bug #22260, -X, -I need a vim-like...


bug #22260: -X, -I need a vim-like "**" extension, that matches slashes too.

Submitter:  Micah Cowan <micahcowan>
Submitted:  Sat 09 Feb 2008 12:13:32 AM UTC
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  Confirmed
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  None Operating System:  GNU/Linux
Reproducibility:  None Fixed Release:  None
Planned Release:  1.13 Regression:  None
Work Required:  0 - Hours Patch Included:  None
* Mandatory Fields

Add a New Comment Rich Markup

Wed 02 Apr 2008 10:43:52 PM UTC, comment #2: 

Suggested this to the list, Hrvoje seemed to think it a good idea:


Micah Cowan <micahcowan>
Sat 09 Feb 2008 09:45:41 PM UTC, comment #1: 

Actually, this is just reflective of my lack of understanding how -X works. -X is used to match against full paths (or, according to bug 20518, prefixes); not suffixes. And in fnmatch() (just as in shells) does not match '/'. We need a "*". Changing the bug description accordingly.

Micah Cowan <micahcowan>
Sat 09 Feb 2008 12:13:32 AM UTC, original submission:  

(No guarantee this will be done for 1.11.1; that's a tentative assignment. It's not a regression over 1.10.2, so that lowers its criticality.)

Apparently, with -X '!COMPLETE' (and variations with wildcards, including without the !), wget still downloads .listing files and contents from a directory named !COMPLETE; but not at the root directory level.

Micah Cowan <micahcowan>


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

Attach Files:

Attached Files
file #15002:  irclog.txt added by micahcowan (6KiB - text/plain)
file #15003:  output.log added by micahcowan (16KiB - text/x-log)
file #15004:  output-1.11.log added by micahcowan (12KiB - text/x-log)


Depends on the following items: None found

Items that depend on this one: None found


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

    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-02 micahcowan Planned Release1.14 1.13
    2009-02-24 micahcowan Work RequiredNone 0 - Hours
    2008-08-21 micahcowan Planned Release1.15 1.14
    2008-02-09 micahcowan Planned Release1.11.1 1.15
        SummaryCan\'t exclude subdirs named &quot;!COMPLETE&quot;, beyond the root dir. -X, -I need a vim-like "**" extension, that matches slashes too.
    2008-02-09 micahcowan Attached File- Added irclog.txt, #15002
        Attached File- Added output.log, #15003
        Attached File- Added output-1.11.log, #15004

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code