mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
extundelete: add page (#4327)
This commit is contained in:
parent
89cc542e3f
commit
090ab3fea8
1 changed files with 21 additions and 0 deletions
21
pages/linux/extundelete.md
Normal file
21
pages/linux/extundelete.md
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# extundelete
|
||||||
|
|
||||||
|
> Recover deleted files from ext3 or ext4 partitions by parsing the journal.
|
||||||
|
> See also `date` for Unix time information and `umount` for unmounting partitions.
|
||||||
|
> More information: <http://extundelete.sourceforge.net>.
|
||||||
|
|
||||||
|
- Restore all deleted files inside partition N on device X:
|
||||||
|
|
||||||
|
`sudo extundelete {{/dev/sdXN}} --restore-all`
|
||||||
|
|
||||||
|
- Restore a file from a path relative to root (Do not start the path with `/`):
|
||||||
|
|
||||||
|
`extundelete {{/dev/sdXN}} --restore-file {{path/to/file}}`
|
||||||
|
|
||||||
|
- Restore a directory from a path relative to root (Do not start the path with `/`):
|
||||||
|
|
||||||
|
`extundelete {{/dev/sdXN}} --restore-directory {{path/to/directory}}`
|
||||||
|
|
||||||
|
- Restore all files deleted after January 1st, 2020 (in Unix time):
|
||||||
|
|
||||||
|
`extundelete {{/dev/sdXN}} --restore-all --after {{1577840400}}`
|
Loading…
Add table
Reference in a new issue