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 LogicSeverity: 4 - Important
Priority: 7 - HighStatus: In Progress
Privacy: PublicAssigned to: None
Originator Name: Open/Closed: Open
Release: 1.10.2Operating System: None
Reproducibility: NoneFixed Release: None
Planned Release: 1.13Regression: No
Work Required: 1 - DaysPatch 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 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 diabelek (Posted a comment)
  • -unavailable- added by chavaluko (Updated the item)
  • -unavailable- added by micahcowan (Submitted the item)

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



    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 02 Oct 2009 07:20:13 PM UTCmicahcowanAssigned tochavaluko=>None
      Planned Release1.14=>1.13
    Thu 21 Aug 2008 11:16:32 PM UTCmicahcowanPlanned Release1.12=>1.14
    Sun 04 May 2008 08:56:48 PM UTCchavalukoStatusNone=>In Progress
      Assigned toNone=>chavaluko
    Wed 01 Aug 2007 04:32:53 AM UTCmicahcowanPriority5 - Normal=>7 - High
    Fri 20 Jul 2007 11:45:46 PM UTCmicahcowanWork RequiredNone=>1 - Days
    Fri 20 Jul 2007 11:43:25 PM UTCmicahcowanCategoryNone=>Program Logic
    Tue 03 Jul 2007 06:04:33 AM UTCmicahcowanRegressionNone=>No

    Back to the top

    Powered by Savane 3.1-cleanup1