apt install ext4magic
cd /var2
ext4magic /dev/mapper/ubuntu--vg-root -f path/to/lost/file -a $(date -d -5days +%s) -r
ls -l RECOVERDIR/path/to/lost/file
参考:
https://wiki.archlinux.org/index.php/file_recovery
https://www.cgsecurity.org/wiki/TestDisk_Download
photorec_static
testdisk_static
fidentify_static
参考:
https://itsfoss.com/recover-deleted-files-linux/
[
本帖最后由 linda 于 2019-7-24 22:11 编辑 ]