In the terminal, you tell Foremost which type of file you want to search for using the -t switch. Supported file types are avi, bmp, dll, doc, exe, gif, htm, jar, jpg, mbd, mov, mpg, pdf, png, ppt, rar, rif, sdw, sx, sxc, sxi, sxw, vis, wav, wmv, xls, zip, and all, which tells it to look for all supported file types. Additionally, the switch "ole" can be used to find all Windows programs that use object linking and embedding, such as Word, Excel, etc.
Other switches include -h show a help screen and quit, -t file types to include, -v show version and quit, -d use indirect block detection,- T timestamp the output directory, -v be verbose in output, -q quick mode, -Q quiet mode, -w write audit only mode, -a write all headers without error detection, -b number for block sizes, -k number for chunk size, -i the input file, block, or partition, -o specify directory to write to, -c set configuration file, and -s number of blocks to skip in the input file.