bugGNU Wget - Bugs: bug #20297, wget -r -A.gif -nc, deletes...

 
 

bug #20297: wget -r -A.gif -nc, deletes preexisting html files

Submitted by:  Micah Cowan <micahcowan>
Submitted on:  Sat 30 Jun 2007 06:39:30 AM UTC  
 
Category:  Program Logic Severity:  4 - Important
Priority:  7 - High Status:  In Progress
Privacy:  Public Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  1.10.2 Operating System:  None
Reproducibility:  None Fixed Release:  None
Planned Release:  1.13 Regression:  No
Work Required:  1 - Days Patch Included:  None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Wed 13 Oct 2010 12:53:54 AM UTC, comment #1:

Would it be acceptable to add a cli option delete based on a timestamp before the wget download starts and the timestamp of the file during the download process. If the start of date timestamp is newer than the file timestamp, that means the file has been downloaded during this instance of wget and so the file should be allowed to be deleted. If the SOD timestamp is older than the file timestamp, the file existed before the start of wget so the file should not be allowed to be deleted.

Jason Unrein <diabelek>
Sat 30 Jun 2007 06:39:30 AM UTC, original submission:

(copied from TODO file)

Wget shouldn't delete rejected files that were not downloaded, but
just found on disk because of `-nc'. For example, `wget -r -nc -A.gif URL' should allow the user to get all the GIFs without removing any of the existing HTML files.

Micah Cowan <micahcowan>

 

(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 diabelek (Posted a comment)
  • -email is unavailable- added by chavaluko (Updated the item)
  • -email is unavailable- added by micahcowan (Submitted the item)
  •  

     

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-10-02 micahcowan Assigned tochavaluko => None
        Planned Release1.14 => 1.13
    2008-08-21 micahcowan Planned Release1.12 => 1.14
    2008-05-04 chavaluko StatusNone => In Progress
        Assigned toNone => chavaluko
    2007-08-01 micahcowan Priority5 - Normal => 7 - High
    2007-07-20 micahcowan Work RequiredNone => 1 - Days
    2007-07-20 micahcowan CategoryNone => Program Logic
    2007-07-03 micahcowan RegressionNone => No

    Back to the top


    Powered by Savane 3.3