mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
6a3d1e812a
Co-authored-by: Ivan Baluta <ivanbaluta.dev@gmail.com> Co-authored-by: Meinard Francisco <44516102+znarfm@users.noreply.github.com>
29 lines
642 B
Markdown
29 lines
642 B
Markdown
# foremost
|
|
|
|
> Recover files using their headers, footers, and data structures.
|
|
> More information: <https://manned.org/foremost>.
|
|
|
|
- Recover files of a specific [t]ype (e.g., JPEG) from a disk image:
|
|
|
|
`foremost -t {{jpg}} -i {{path/to/disk_image.dd}}`
|
|
|
|
- Recover files of multiple [t]ypes:
|
|
|
|
`foremost -t {{gif,png,pdf}} -i {{path/to/disk_image.dd}}`
|
|
|
|
- Recover files using all predefined formats:
|
|
|
|
`foremost -t all -i {{path/to/disk_image.dd}}`
|
|
|
|
- Recover files into a specific [o]utput directory:
|
|
|
|
`foremost -o {{path/to/output_directory}} -i {{path/to/disk_image.dd}}`
|
|
|
|
- Display [h]elp:
|
|
|
|
`foremost -h`
|
|
|
|
- Display [V]ersion:
|
|
|
|
`foremost -V`
|