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

Re: [Sheflug] Recovering a deleted file



Nicola Richmond  wrote:
> I've just deleted a file by accident. Does anyone know of anyway I can
> recover it? It's an openoffice impress file.

    I guess that it depends on the filesystem you're using. In
principle, if you delete something on UNIX, it's gone. However, if you
haven't been using the disk much, then there might be a possibility to
recover the file, as the information might still be there.

    If you're using Ext2, then recover <http://recover.sf.net/> will
do the job. To see what FS you're using, do:
$mount
My computer shows:
/dev/hda2 on / type ext2 (rw,errors=remount-ro)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda5 on /usr type ext2 (rw)
/dev/hda6 on /home type ext2 (rw)

In other words, I am using Ext2 in all my mounted partitions (yeah,
yeah, "My other FS is XFS" X-)).

    If not, yes, there is a way using grep as you mention, but I have
never tried it...

    Best luck,
    José
-- 
José L Gómez Dans			PhD student
Tel: +44 114 222 5582			Radar & Communications Group
FAX; +44 870 132 2990			Department of Electronic Engineering
					University of Sheffield UK
___________________________________________________________________

Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html

  GNU the choice of a complete generation.