If you do have some files in lost and found, you can at least try to determine the filetype using the "file" command.
One way to get a listing of filenames and inodes is to use the "find" command with the argument '-printf '%i %p\n'. You could change it to your liking, of course, such as using a tab separator to make it easier handling filenames with spaces.
It is still a better idea doing a backup, but doing both, the list could tell you which files to restore.
Another thing you could do is produce a list of filenames with their md5sums. This would take a very long time however given your large number of files.
Last edited by jschiwal; 12-25-2007 at 09:21 PM.
|