Notices


Reply
Thread Tools
Posts: 23 | Thanked: 4 times | Joined on Jan 2010
#1
Hi,

I have been walking in Scotland for 10 days!

I wrote a lot of things in Notes as a Diary in order to remember the good time!

But i made a mistake tonight when i've tried to copy/paste the file, i have selected all the file via ctrl+a and when i wanted to do ctrl+c, i've just pressed on "c"

As i didn't want to forget my file, instead of "cancel" i have just closed the file because i thought it would ask me to save changes or not!!!

And i just discoverd osso_notes did not ask me and it save the last change!

Conclusion: I have lost my diary!!!

Is there any possibility to get my data back, to find an old recording!

I made thousand of records of this file, i might find one somewhere!

i am looking for a backup somewhere, a database etc...

Please i need help

Thanks a lot

edit: i ve just tried

Start x-terminal, type: cd .osso/osso-notes
to list contents: ls -lh

i see the last autosaved file, but not the others, before!

any idea?

Last edited by Panayotis689; 2011-05-04 at 16:40. Reason: [resolu]
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#2
Don't open the notes application. It will use the autosave
file and everything else will be lost.
You could try this:
open xterm and enter:
cat /home/user/.osso/osso-notes/.g_keyfile

The output should be something like this:
[notes]
window_count=1
active_window=0

[window_0]
is_current=true
current_name_exists=false
current_folder_exists=true
current_folder=/home/user/MyDocs/.documents
filename_exists=true
filename=file:/home/user/MyDocs/.documents/Hello.note.html
autosave_filenames_exist=true
filename_autosave=file:/home/user/.osso/osso-notes/autosave.0-Notizen.note.html
filename_autosave_no_ext=file:/home/user/.osso/osso-notes/autosave.0-Notizen
file_format=1
alignment=0
strikethrough=false
text_position=0
edited=true
fullscreen=false
cursor_offset=12
bold=false
underline=false
italic=false
bulleted=false
text_colour_red=0
text_colour_green=0
text_colour_blue=0
font_face=Sans
font_size=3

Maybe the file at the "file=..." entry isn't overwritten yet and
your notes aren't lost. If this file exists:
1. make a backup/copy
2. open the file from the file manager

hope this helps

nicolai
 

The Following User Says Thank You to nicolai For This Useful Post:
Posts: 23 | Thanked: 4 times | Joined on Jan 2010
#3
hi nicolai

i found my file at
filename=file:///home/user/mydocs/ .documents/whw.note.html

what do you mean by make a backup/copy?
is it just not to rewrite the adress of the file?

or it is a backup of the file?

anyway, if i go the the file manager, N900/Documents, i found my file which i can open, but it is the last recorded file!

actually i didn't retrieve my data!

thanks
 
santiago's Avatar
Posts: 518 | Thanked: 334 times | Joined on Mar 2010 @ italy
#4
i think he means that u gotta create a copy of the existing file before open it.
 
Posts: 23 | Thanked: 4 times | Joined on Jan 2010
#5
i think that too
but how do you do from xterm?
 
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#6
I thought of a simple:
cp /home/user/mydocs/.documents/whw.note.html /home/user/mydocs/.documents/whw.note.html.bak
just in case this file would include your
notes and to prevent overriding this when trying to
recover the notes.
But, if this file does not include your old notes, I think
there is no hope.
sorry

nicolai
 
Posts: 23 | Thanked: 4 times | Joined on Jan 2010
#7
yes!!!!!!!!!!!!!!!!!!!!!!!!
i get it!!!!!!!!!!!!

thanks to maemofrance, i've tried testdisk without success then photorec!
i have changed options in order just to look for "txt" file

5 min later i get back all the records of my file!!!!

great great great

viva maemo, viva linux!
 

The Following User Says Thank You to Panayotis689 For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:52.