bugGNU Wget - Bugs: bug #33831, wget --backup-converted does not...

 
 

bug #33831: wget --backup-converted does not work

Submitter:  Noël Köthe <nok>
Submitted:  Sat 23 Jul 2011 10:05:49 AM UTC
   
 
Category:  Program Logic Severity:  3 - Normal
Priority:  5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  gscrivano
Originator Name:  Open/Closed:  Closed
Release:  1.12 Operating System:  GNU/Linux
Reproducibility:  None Fixed Release:  None
Planned Release:  None Regression:  None
Work Required:  None Patch Included:  No
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 06 Aug 2011 10:00:07 AM UTC, comment #2: 

it was a problem in the documentation that is fixed in the development version.

Giuseppe Scrivano <gscrivano>
Group administrator
Fri 05 Aug 2011 10:33:08 PM UTC, comment #1: 

I couldn't reproduce the problem, if I launch the command I get backup-ed files and having a bunch of .orig and .html files.


Can you please give more information?  Why is not it following the documentation?

Giuseppe Scrivano <gscrivano>
Group administrator
Sat 23 Jul 2011 10:05:49 AM UTC, original submission:  

Hello,

the wget parameter --backup-converted does not work properly. It should create
a backup copy of downloaded files when these files are altered by wget. An
example is the use of --adjust-extension which adds a .html extension to the
file name if it has type text/html and does not end with .htm or .html.

I tried the following command to download recursively a part of a website:

wget --backup-converted -nc -k --adjust-extension -A .gif,*133579 -l 0 -nd -R null.gif -I /film/133579,/m/kleioc/0010/exec/bigpage -r http://dlib-pr.mpier.mpg.de/m/kleioc/0010/exec/bigpage/%22133579_00000001.gif%22

You may try it out, the resulting files will be renamed according to the
--adjust-extension parameter, but --backup-converted has no effect as no
backup copies of the original files will be created. This leads to the problem
described in manual section 2.7: wget re-downloads every file when mirroring.
The solution proposed in manual section 2.7 is the use of --backup-converted,
which, as has been shown, does not work.

http://bugs.debian.org/624675

Noël Köthe <nok>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gscrivano (Posted a comment)
  • -email is unavailable- added by nok (Submitted the item)
  • -email is unavailable- added by nok (Debian BTS)
  •  

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-08-06 gscrivano StatusCannot Reproduce Fixed
        Open/ClosedOpen Closed
    2011-08-05 gscrivano StatusNone Cannot Reproduce
        Assigned toNone gscrivano
    2011-07-23 nok Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code