1

When remaining harddisk space wasn't enough,I tried to close a txt,Sublime Text told me that it can't be save.It's no problem,I only update a little sentence, so I don't care if it's saved.Then I closed it.But the next time,I open the txt, it is empty.I lost all the data.(╯‵□′)╯︵┻━┻
I have used this file to note various things for months.It is broken now! How can I recover it? (There were 200+ lines text in it yesterday T~T...)
OS: MacOS Sierra
SublimeText: Build 3126

The left is broken file, the right is another file(not be broken)

Community
  • 1
  • 1
XavierMooc
  • 11
  • 3
  • Keeping track of unsaved documents also use memory disk as a temporal file... so unfortunately, i think you cant recover it :( – Diego N. Mar 30 '17 at 09:24
  • So we are talking about a text file, with important information in it, used for months... of course you were keeping it in Dropbox, right? – Andrea Lazzarotto Mar 30 '17 at 20:47

1 Answers1

0

(If you're using Windows):

Find the file on the drive, right-click, and check for "previous versions" of the file. There should be some there, and if one of them opens, you should be fine. And then, maybe make sure that a working drive always have available space...

If on OSX:

You can read it here: support.apple.com/kb/PH18862?locale=en_US (Basically, open the file in TextEdit (usually just double click in Finder), go to the File or Archive-tab, and chose "revert file" - then you should see other versions).

No guarantees, though

junkfoodjunkie
  • 3,168
  • 1
  • 19
  • 33
  • I haven't found "previous versions".My OS is MacOS Sierra > <.Is there similar way on MacOS? – XavierMooc Mar 30 '17 at 10:07
  • Yes (sort of): you can read it here: https://support.apple.com/kb/PH18862?locale=en_US (Basically, open the file in TextEdit (usually just double click in Finder, go to the File or Archive-tab, and chose "revert file" - then you should see other versions. Updated the answer as well. – junkfoodjunkie Mar 30 '17 at 10:31
  • Thanks for the advice.But after clicking "revert file",there is not any other versions,because I'v never saved the file by system text editor,> <.I tried many data recovery software yesterday,maybe I should give up now...restarting Mac...to do new things... T~T – XavierMooc Mar 31 '17 at 05:10