Photorec to recover files in an ext4 directory identified with its inode nr
Posted: 29 Jan 2020, 18:24
Hello,
I would like to recover deleted files from a directory on an ext4 file system. I would like to avoid the full scan of the partition and only recover from the existing directory.
I have been advised to issue the following command: "photorec /cmd device ext2_inode,inode_nr,search" where the device is the block device of the partition and inode_nr is the inode of the directory.
I have tried this with a number of directories and sub-directories (as well as different partitions) but it seems to recover files from other locations or none at all.
Am I using this correctly? Could anyone please help?
Thanks,
Frank
I would like to recover deleted files from a directory on an ext4 file system. I would like to avoid the full scan of the partition and only recover from the existing directory.
I have been advised to issue the following command: "photorec /cmd device ext2_inode,inode_nr,search" where the device is the block device of the partition and inode_nr is the inode of the directory.
I have tried this with a number of directories and sub-directories (as well as different partitions) but it seems to recover files from other locations or none at all.
Am I using this correctly? Could anyone please help?
Thanks,
Frank