Score:0

How to restore a file content which wasn't saved properly?

ps flag

Somehow several days ago I didn't save a very important .txt file draft and now this file is empty. What to do to restore its content, because I can't seem actually to google a solution ?

Esther avatar
es flag
how were you editing the file? Most likely it is unrecoverable, but the editor you were using may have stored a temp file somewhere...
curioushuman avatar
ps flag
via terminal, in nano.
Esther avatar
es flag
check for the existence of a .save or .swp file in the same directory as the .txt. For example, if your file is called `filename.txt`, check for `filename.txt.swp` or `filename.txt.save`.
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.