Unix and Linux Discussions Tagged with editing |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
8 |
15,596 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
1,931 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
1,411 |
UNIX for Beginners Questions & Answers |
|
|
|
1 |
3,294 |
Shell Programming and Scripting |
|
|
|
1 |
2,385 |
Ubuntu |
|
|
|
6 |
2,485 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
14,783 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,211 |
Shell Programming and Scripting |
|
|
|
0 |
1,636 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
2,306 |
UNIX and Linux Applications |
|
|
|
6 |
1,813 |
Shell Programming and Scripting |
|
|
|
1 |
2,456 |
Shell Programming and Scripting |
|
|
|
6 |
2,504 |
Shell Programming and Scripting |
|
|
|
0 |
1,522 |
UNIX and Linux RSS News |
|
|
|
0 |
3,349 |
Linux |
|
|
|
1 |
11,032 |
Linux |
|
|
|
2 |
1,811 |
AIX |
|
|
|
7 |
3,015 |
Shell Programming and Scripting |
|
|
|
3 |
2,515 |
Shell Programming and Scripting |
|
|
|
1 |
14,976 |
OS X (Apple) |
|
|
|
20 |
17,842 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,398 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,957 |
IP Networking |
|
|
|
1 |
5,298 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
5,945 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
6,136 |
UNIX for Dummies Questions & Answers |
|
|
|
9 |
12,925 |
IP Networking |
|
|
|
2 |
15,176 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,044 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
9,148 |
UNIX for Advanced & Expert Users |
|
|
|
14 |
7,200 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,892 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
3,233 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,911 |
IP Networking |
|
|
|
3 |
5,300 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,243 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,135 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,360 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
36,713 |
UNIX for Dummies Questions & Answers |
ELVREC(1) General Commands Manual ELVREC(1)
NAME
elvrec - Recover the modified version of a file after a crash
SYNOPSIS
elvrec [preservedfile [newfile]]
DESCRIPTION
If you're editing a file when elvis dies, the system crashes, or power fails, the most recent version of your text will be preserved. The
preserved text is stored in a special directory; it does NOT overwrite your text file automatically.
The elvrec program locates the preserved version of a given file, and writes it over the top of your text file -- or to a new file, if you
prefer. The recovered file will have nearly all of your changes.
To see a list of all recoverable files, run elvrec with no arguments.
FILES
/usr/preserve/p*
The text that was preserved when elvis died.
/usr/preserve/Index
A text file which lists the names of all preserved files, and the names of the /usr/preserve/p* files which contain their preserved
text.
BUGS
elvrec is very picky about filenames. You must tell it to recover the file using exactly the same pathname as when you were editing it.
The simplest way to do this is to go into the same directory that you were editing, and invoke elvrec with the same filename as elvis. If
that doesn't work, then try running elvrec with no arguments, to see exactly which pathname it is using for the desired file.
Due to the permissions on the /usr/preserve directory, on UNIX systems elvrec must be run as superuser. This is accomplished by making the
elvrec executable be owned by "root" and setting its "set user id" bit.
If you're editing a nameless buffer when elvis dies, then elvrec will pretend that the file was named "foo".
AUTHOR
Steve Kirkendall
kirkenda@cs.pdx.edu
ELVREC(1)