Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Is there a way for wget to only fetch FTP files that have been modified after a certain date (when fetching recursively)?

The application here is that I need to sync with several servers nightly, but I only need the data going forward from a couple days ago. The --mirror flag would suffice except that syncing the rest of the data (even just once) would take forever.

share|improve this question

1 Answer 1

wget can mirror once and then after this only get later items with the --timestamp flag. I'd suggest reading the info page for it, which has a good explanation, and checking if this gives you the behaviour you are looking for.

share|improve this answer
    
In fact, --mirror implies --timestamping. –  John Flatness Sep 24 '11 at 20:05

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.