I had done some changes to a file and i saved it. After some time I shut down my laptop, After booting and opening the system , the changes I had done in that file were actually not there. Please help me to recover the changes done in the file.
1 Answer
There is some chance that all these data changes are lost, but here is a little way to find your hidden change if not :
Go to your file directory, and look for hidden file
If there is no files revealed, then you had lost your data, and need to retyped then manually
Hidden files shown had the same name as the normal file with a
~
after the extension (for a file namedfile.txt
, his hidden file would befile.txt~
). You can open it as the standard file, so right click on it -> Open with Gedit and save it with a different name (using the terminal, usegedit file.txt~
to open it, or usemv file.txt~ newfilename.txt
)
-
1I believe the
~
files are backup versions before changes are saved. What OP is looking for are work files containing changes that were not saved. Nov 25, 2019 at 11:56
sync
wasn't performed), you've tagged backup so what backup strategy was used? where the file was located? (local? remote? user directory or where?) More details may help us to better understand what went wrong...