[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] recovering deleted files (HELP)



Paul Schreiber <cheesefactory@xxxxxxxxx> wrote:
> i accidently deleted a user this morning, and i need to undelete their IMAP
> mail ... how do i do this?

You may be able to get back at least part of the IMAP file using the following
command.

egrep -1000 'some text' /dev/hda4 > output.txt

This will search your home partition for 'some text' and ouput 1,000 lines
before and after occurences of 'some text' to output.txt.  You will have to know
at least some of the text from the IMAP file you deleted and it will help if it
had a phrase not found throughout your home partition.  Modify the number of
lines to return to suit your needs.

Steven Werby {steven-lists@xxxxxxxxxxxx}