bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Bug-wget] Get Newest File Only?


From: Robert P Dale
Subject: RE: [Bug-wget] Get Newest File Only?
Date: Thu, 12 Feb 2009 15:02:47 -0500

> > to check each and every file. Is there a way to tell it to just compare
> > what's newest on the server and compare to my local side?
> 
> Are you asking whether there's a way to ask the server, "What are the
> newest files, so I can check whether they're newer than what I have"? If
> so, then no.

Not necessarily -- I just want wget to output "last filename on that list"
and then do the comparison... I guess the comparable thing "manually" would
be to download the directory listing, strip out the last file with awk or
something related, and then use wget to do a "-N" and download it if that
file doesn't exist locally.

I don't care about the older files, but if there's a way to automate not
having to write the "last filename" script outside of wget it'd be easier.

 - Rob





reply via email to

[Prev in Thread] Current Thread [Next in Thread]