bugGNU Wget - Bugs: bug #30718, -B/--base={URL} cmdline option...


bug #30718: -B/--base={URL} cmdline option should be used for cmdline specified URLs

Submitted by:  Linda A. Walsh <law>
Submitted on:  Mon 09 Aug 2010 07:49:28 PM UTC  
Category: Program LogicSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Originator Name: Linda WalshOpen/Closed: Open
Release: 1.10.1Operating System: GNU/Linux
Reproducibility: Every TimeFixed Release: None
Planned Release: NoneRegression: No
Work Required: NonePatch Included: None

Add a New Comment(Rich Markup)

You are not logged in

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


Mon 09 Aug 2010 11:44:36 PM UTC, comment #1:


-B is supposed to work with files specified trough -i -F.

You can achieve your desired result with this shell expansion:

wget http://doc.bazaar.canonical.com/bzr.2.1/downloads/{bzr-developers-html.tar.bz2,bzr-developers-chm,bzr-en-html.tar.bz2}

Giuseppe Scrivano <gscrivano>
Project Administrator
Mon 09 Aug 2010 07:49:28 PM UTC, original submission:

if I want to download multiple files or pages from a website,
my logical action would be to set the base prefix with -B and specify the pages I need on the command line.

This doesn't work -- the URL's on the command line ignore the base-prefix set on the command line.

Example: (all one line)
wget -B http://doc.bazaar.canonical.com/bzr.2.1/downloads/ bzr-developers-html.tar.bz2 bzr-developers-chm bzr-en-html.tar.bz2

Instead of downloading the requested files, I get:
12:47:28 ERROR 503: Service Unavailable.
12:47:28 ERROR 503: Service Unavailable.
12:47:28 ERROR 503: Service Unavailable.

Linda A. Walsh <law>


(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 gscrivano (Posted a comment)
  • -unavailable- added by law (Submitted the item)

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



    No Changes Have Been Made to This Item

    Back to the top

    Powered by Savane 3.1-cleanup1