Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4599810
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T23:35:40+00:00 2026-05-21T23:35:40+00:00

As the question states how to instruct WGET to only download the same file

  • 0

As the question states how to instruct WGET to only download the same file if the existing one is older

e.g. fileA has a date / file stamp of 9.00AM 10/10/2011

e.g. fileA on the remote server has a date / file stamp of 11AM 10/10/2011

so wget will download FileA on the server as its newer (and overwrite the local file)

Any help would be greatly appreciated, I have heard this is possible, but after looking around for a while I havn’t come up with anything

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T23:35:41+00:00Added an answer on May 21, 2026 at 11:35 pm

    Take a look at the timestamping section in the wget manual:

    Time-Stamping

    One of the most important aspects of
    mirroring information from the
    Internet is updating your archives.

    Downloading the whole archive again
    and again, just to replace a few
    changed files is expensive, both in
    terms of wasted bandwidth and money,
    and the time to do the update. This is
    why all the mirroring tools offer the
    option of incremental updating.

    Such an updating mechanism means that
    the remote server is scanned in search
    of new files. Only those new files
    will be downloaded in the place of the
    old ones.

    A file is considered new if one of
    these two conditions are met:

    1. A file of that name does not already
      exist locally.

    2. A file of that name
      does exist, but the remote file was
      modified more recently than the local
      file.

    To implement this, the program
    needs to be aware of the time of last
    modification of both local and remote
    files. We call this information the
    time-stamp of a file.

    The time-stamping in GNU Wget is
    turned on using ‘–timestamping’
    (‘-N’) option, or through timestamping
    = on directive in .wgetrc. With this option, for each file it intends to
    download, Wget will check whether a
    local file of the same name exists. If
    it does, and the remote file is not
    newer, Wget will not download it.

    If the local file does not exist, or
    the sizes of the files do not match,
    Wget will download the remote file no
    matter what the time-stamps say.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

As the question states, what date format is ds1248083197360 ? Is this a standard
The same question has been asked before but the solutions don't work for me.
The current top-voted to this question states: Another one that's not so much a
As the question states - I want to send a binary file to a
One of the answers to my previous question states that colgroup/col should work in
As the question states, I'd like to set a mouse listener to my JTree
As the question states, does the integer-factorization problem fall into the class of NP-Complete
As the question states, would the following array require 5 bits of memory? $flags
as the question states. I have implemented a function wherein it fetches multiple rows
As the question states, I have two ethernet devices I need to use. A

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.