Open kaihendry opened 10 years ago
I like the idea of starting again and merging. It would allow people to update their backups when you've updated greptweet (eg, to expand URLs). You'd have to do the merge on tweet id, not diff.
In fact, would you have to merge at all? You could get the oldest tweet in the new file and get everything before that from the old file. (Assuming that the new file didn't have gaps.) Are tweet ids always in chronological order?
Not sure how you would merge come to think of it.
I guess we can make it trump and keep a .bak if anything goes horribly wrong.
https://twitter.com/thevitaes/status/424307679775821824
We did have an option to look past the last tweet. https://github.com/kaihendry/greptweet/blob/master/fetch-tweets.sh#L33
But this doesn't help people who have a gap between a retrieval of tweets.
What can we do?