Undelete files from a folder only
Is it possible to undelete files from one folder only (on an ext4 partition)? If so, do I need to mount the partition first? And what would be the exact command? I need to undelete *.xz files deleted from a folder named myfolder on a partition abcd which is usually mounted on /media/abcd/myfolder. Can I add an option to recover only files created later than 10th Feb, 2013?
I checked and found several utilities for recovering deleted files: extundelete, foremost, scalpel, photorec of testdisk etc. I tried extundelete and foremost but they search entire partition for deleted files and hence take a long time for unnecessary files.
Thanks for your help.
I don't think so, because files aren't in fact stored under a dir (physically).
The inode entry just tells the OS where to find the data blocks in the partition. They can be anywhere.
As an example, this is why quotas are only set at the filesystem/partition level http://www.linuxtopia.org/online_boo...sk-quotas.html
|All times are GMT -5. The time now is 05:33 AM.|