You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
641 B
Plaintext

# extundelete
# An ext3 and ext4 file undeletion utility
# Recover a file in '/home/UserName', assuming '/home' is on its own partition
extundelete /dev/sda4 --restore-file UserName/SomeDirectory
# Recover an entire directory
extundelete /dev/sda4 --restore-directory UserName/SomeDirectory
# For advanced users, to manually recover blocks or inodes with extundelete,
# `debugfs` can be used to find the inode to be recovered; additional inodes
# to recover can be listed in an unspaced, comma-separated fashion.
extundelete --restore-inode inode
# recover all deleted files from an entire partition
extundelete /dev/sda4 --restore-all