Recover files using their headers, footers, and data structures
|
-c file
Sets the configuration file to use. If none is specified, the file "foremost.conf" from the
current directory is used, if that doesn't exist then "/etc/foremost.conf" is used. The format for
the configuration file is described in the default configuration file included with this program.
See the CONFIGURATION FILE section below for more information.
|
-T Time stamp the output directory so you don't have to delete the output dir when running multiple
times.
|
-v Enables verbose mode. This causes more information regarding the current state of the program to
be displayed on the screen, and is highly recommended.
|
-i file
The file is used as the input file. If no input file is specified or the input file cannot be
read then stdin is used.
|
-o directory
Recovered files are written to the directory directory.
|
Before a command is executed, its input and output may be redirected using a special notation interpreted
by the shell. Redirection may also be used to open and close files for the current shell execution
environment. The following redirection operators may precede or appear anywhere within a simple command
or may follow a command. Redirections are processed in the order they appear, from left to right.
Appending Redirected Output
Redirection of output in this fashion causes the file whose name results from the expansion of word to be
opened for appending on file descriptor n, or the standard output (file descriptor 1) if n is not
specified. If the file does not exist it is created.
The general format for appending output is:
[n]>>word
|