Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

what I want to do is to download files using wget. The maximum depth is up to 3. Now, I know that there is a big possibility that the files in the url will be updated. Is there a way that these updated/modified files will be the only ones to be downloaded?

For example, day 1: Ill run the python script that will download all files from a particular site. day 2: Ill run the same script, expecting that it will download all UPDATED files ONLY.

What parameter do I need to add to do this?

Thanks!

share|improve this question

migrated from stackoverflow.com Mar 6 '13 at 10:14

This question came from our site for professional and enthusiast programmers.

add comment

1 Answer

you can use -N(--timestamping) option. e.g. wget -N www.google.com.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.