Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

I have ubuntu 12.10, and use MS office 2010 to write documents. I have been writing and saving a file but when I went to open it today to was nowhere to be seen. Not in the the rubbish bin and when in Word it is listed in recent documents but can't be found.

After doing a full system search, I have found 71 .lnk files for the document. Therefore does anyone no if it is possible to restore the file? or can I use the .lnk files to do this? or are there any other ways to search the hard dive for the file, which I guess I have saved 71 times!

share|improve this question
up vote 4 down vote accepted

"or are there any other ways to search the hard dive for the file" --> Yes, there are.

First look into your litterbasket, maybe the file is there.

Secondly look out for files with the same name but with strange or missing extension. Linux doesn't need the file extension an it could have been lost while saving.

As Flimm already stated, the .lnk files normally don't contain any content, but only information about the location of the original file. But it could have happend somehow, that the originl file has got erroneously the extension .lnk, so check for the filesize of these. Normal .lnk files are quite small, whereas your word file is probably somehow bigger. If so, rename it so word can open it again.

Thirdly do a search without specifying filename or extension but give some distinctive phrases or words from the text of your file (search file contents)

Be aware, that linux may have produced a backup copy of your file extended by a tilde (swung dash), which are normally invisible in some filemanagers. Activate view of hidden files and look for a file of the expected name ending with a tilde.

Finally: Use an internet serarch engine with the terms file recovery, which shows you a bunch of programs which will hopefully quarry your missing file. Avoid any saving and writing to your harddisk before using the programs. The less you write, the better are your chances to recover the file in case it has been deleted.

Not to forget: you will not find the file if you changed its permissions accidently. So be aware to perform your search with permisson to read files of all users (including root) on your system.

Look for unmounted drives. Your file could be stored there and will be only acessable when mounting the drive.

share|improve this answer

.lnk files are shortcuts to other files, they simply contain a reference, and some other options. You cannot use them to recover the data of the original file.

share|improve this answer

protected by Eliah Kagan Sep 8 '13 at 2:41

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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