Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So I didn't realize my system drive had filled up... and TaskWarrior overwrote my '' with a 0-byte copy. d-: I had worked SO hard to get all my tasks imported from various other notes (many of which I deleted along the way), and hadn't yet prepared for the possibility of data loss. Should've set it up to use my Dropbox... Grr... why doesn't TaskWarrior make ANY backup buy default? That data is so important, and yet so small and trivial to backup. ]-:<

Anyway, my '' is totally intact and seems to contain all the information theoretically needed to reconstruct ''. Has anyone ever written a script to do this, or does somebody have regex's I could use for conversion? Unfortunately right now I have no sample '' to look at... d-:

OR: does anybody know of a simple Linux utility I can use to recover previous file versions? It's possible no data was overwritten, since the replacement is empty.


share|improve this question
Things rolling already at the TaskWarrior forum: I've already got two good proposed solutions for recovery through '', but I'd still be very interested in any raw data-recovery solutions. – Casey Jones Aug 5 '11 at 22:43
To quote myself in the aforementioned thread at the TaskWarrior forum: Linux file recovery tools all seem to be inordinately complex, at least compared to ones I used in my Windows days, such as 'Restoration' and Piriform's 'Recuva'. I'm somewhat familiar with how to use PhotoRec, but it operates on particular file extensions by searching for headers and offsets. Since I don't have a sample '', it'd be helpful if somebody could either send me one or generate a PhotoRec extension: – Casey Jones Aug 5 '11 at 22:46
task rc.merge.autopush=no merge /path/to/intact/
share|improve this answer
That worked. [-: – Casey Jones Aug 6 '11 at 21:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .