in reply to Re: restoring files in ext2fs
in thread restoring files in ext2fs
The white space causes rm to remove all files recursivly under the current directory tree. If there were only one or two files I could do it from the command line by modifying the inodes. This would be a a better (forgive me, gods of perl!) way, because the files would be undeleted as they are (I am not to good in reading binary files).rm -r /some_path/ *
This could be done several (4000) times to recover all files that were deleted until that guy (not me I swear it) realized that Control-C would be a good idea.use CodeFromTheGodsofExt2fs; my %inode = getInode($InodeNumber); $inode{"DeletionTime"}=0; $inode{"Link"}=1; writeInode(%Inode);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: restoring files in ext2fs
by very empty (Scribe) on Feb 06, 2002 at 18:50 UTC |