I need to restore about 4000 files in a ext2fs. This can be done using the debugfs-command with the modify inode option. This works interactivly, I have to enter the inode-number and I have to set the deletion-time to zero (0) and the link entry to one (1). The other entrys must be untouched which can be achieved with bressing enter.
This is slightly annoying. I already have a list of the inode-numbers stored in a file, one entry per line.
Is there any perl-way to automate it, I mean some ext2::ModifyInode or Filesystem::ext2Undelete?
Regards...