diff --git a/pages/linux/foremost.md b/pages/linux/foremost.md new file mode 100644 index 0000000000..bc9816b855 --- /dev/null +++ b/pages/linux/foremost.md @@ -0,0 +1,28 @@ +# foremost + +> Recover files using their headers, footers, and data structures. +> More information: . + +- 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`