l i n u x - u s e r s - g r o u p - o f - d a v i s
L U G O D
 
Next Meeting:
November 4: Social gathering
Next Installfest:
TBD
Latest News:
Oct. 24: LUGOD election season has begun!
Page last updated:
2002 Sep 08 12:59

The following is an archive of a post made to our 'vox mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox] Kewl fun... Undeleting files in ext2
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox] Kewl fun... Undeleting files in ext2



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

This is new to me. I remember trying to hand piece together bits of files
many ages ago and the pain it was.

Create a file on some simple filesystem. (For me "/tmp" is on its own
 partition "/dev/hda7")
Put some content into the file that you can remember.
Run "sync"
"rm" the file
Run sync
use mc with appropriate args and the partition with files to undelete:
# mc cd /#undel:hda7
"Tab" to the left pane, and choose (F9) to enable pull down menus.
Under "Left" menu pull down, choose "sort order..."
Highlight "Modify Time" press "space", "tab" over to 
 "Reverse" press "space" tab over to "OK" press "Return"

Now, at the top of the left window pane should be the last files on /tmp
to be deleted. You won't see the original name, but you may see the size
of the file and modification time. With these two pieces of data, you may
or should be able to locate the file that was just deleted.

Now you can highlight the file to undelete, and coose (F5) to copy the
file.

Specify a destination on another filesystem on another partition and
choose "ok".

press (F10) to quit and go examine your destination file.

Kewl, no?

- -ME

- -----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/CM$/IT$/LS$/S/O$ !d--(++) !s !a+++(-----) C++$(++++) U++++$(+$) P+$>+++ 
L+++$(++) E W+++$(+) N+ o K w+$>++>+++ O-@ M+$ V-$>- !PS !PE Y+ PGP++
t@-(++) 5+@ X@ R- tv- b++ DI+++ D+ G--@ e+>++>++++ h(++)>+ r*>? z?
- ------END GEEK CODE BLOCK------
decode: http://www.ebb.org/ungeek/ about: http://www.geekcode.com/geek.html

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9c5xPnX6uIwdKgeYRAgcpAJ9IEY17H0jQAuWZ0PTjdba/1QiL4QCfSiZW
4MWN8jtivDli0WzkAqsqTC8=
=nLNh
-----END PGP SIGNATURE-----

_______________________________________________
vox mailing list
vox@lists.lugod.org
http://lists.lugod.org/mailman/listinfo/vox



LinkedIn
LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
facebook
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.