Hi, Vimmer,
Here is the information I got from "vim -r"
Swap files found:
In directory ./.backup:
-- none --
In directory ~/tmp/vim-backup:
-- none --
In directory /tmp:
1. htmlize-output.py.swp
owned by: joseph dated: Wed Mar 21 16:03:41 2007
file name: /prj/Experiment/Data-View/script/htmlize-output.py
modified: no
user name: joseph host name: HLT029
process ID: 4373
Any idea to get it back?
Thanks.
Joseph
On 3/21/07, Joseph WU <[EMAIL PROTECTED]> wrote:
Hi, Vimmer,
Sorry to disturb you, it's a bit urgent. :(
I coded a script in gvim just a hour ago and kept it opening when I
was doing something else. After I returned to gvim, it prompted me
that a file has been modified. At that time, I didn't realize it was
that script file I coded, due to a lot of files opening. I just
pressed the "load" button quickly without any check. But, oops, all
the codes I wrote were completely gone.... :( (even now, I didn't
remember when and how I removed that file.)
I just found a .swp file in /tmp and open it in binary mode. Thanks
god, the .swp file seems containing almost all of the codes I wrote in
this morning. But when I use "gvim -r foo.txt", although vim told me
it is recovered successfully, but no any code recovered, and I still
get NOTHING.
I found the codes in the .swp file are stored in inversed order, so it
is really tedious to manually copy/paste to a new file. So I am
wondering if there is any solution to just get some codes back based
on the .swp file.
Thanks in advance!
--
Best,
Zhaojun (Joseph)
--
Best,
Zhaojun (Joseph)