On Wed, 2011-11-09 at 23:23 -0200, Bruno Rocha wrote:
> On *UNix terminal
> 
> wget --recursive -l 1 --no-clobber --page-requisites --html-extension
> --convert-links --restrict-file-names=windows
> --domains web2py.com --no-parent http://www.web2py.com/book

This works great (somebody posted it on reply to my question some time
ago); what does the trick (and I was missing before) is the
``--html-extension`` parameter. Maybe also ``--adjust-extension`` works
the same way, but try: ``wget --help | grep html-extension``.. (returns
nothing to me). Why are always the more useful things undocumented??

-- 
Samuele ~redShadow~ Santi
----------------------------------------------------------------
     redshadow[at]hackzine.org - redshadowhack[at]gmail.com

  Blog: http://hackzine.org

  GPG Key signature:
       050D 3E9F 6E0B 44CE C008 D1FC 166C 3C7E EB26 4933
----------------------------------------------------------------
/me recommends:
    Squadra Informatica - http://www.squadrainformatica.com
----------------------------------------------------------------
 - Proud ThinkPad T-Series owner
 - Registered Linux-User: #440008
      * GENTOO User since 1199142000 (2008-01-01)
      * former DEBIAN SID user
----------------------------------------------------------------
      "Software is like sex: it's better when it's free!"
                              -- Linus Torvalds

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to