Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
filetype(1)		    General Commands Manual		   filetype(1)

       filetype	- file type reporting program

       filetype	 [  -s filetype-spec file ] [ -h, --help ] [ -v, --version ] [
       -d, --debug ] [ --log-stdout ] [	--log-stderr ] [ --log-syslog ]	 [  -f
       namefile	] file ...

       This  manual  page  documents  version  0.0.1  of the filetype command.
       filetype	tries to classify each file given to it.  The file(s) to clas-
       sify can	be given on the	command	line as	usual file arguments (i.e. af-
       ter the options), or in a file where the	files to classify  are	listed
       on  separate lines, or in standard input.  filetype tests against a bi-
       nary database with information about file types,	which  should  be  lo-
       cated  at  /etc/filetype.spec  unless you specify otherwise with	the -s
       option.	If the file is known, information about	it is printed on stan-
       dard output. Otherwise the tag "Unknown"	is used.

       -s filetype-spec	file
	      Use this file to test against rather than	the default /etc/file-

       -h, --help
	      Show usage.

       -v, --version
	      Show version.

       -d, --debug
	      Print debugging messages (warning: large output)

	      Send verbose/debug output	to stdout.

	      Send verbose/debug output	to stderr.

	      Send verbose/debug output	to syslog if available.

       -f namefile
	      A	file (or stdin if '-') containing a list  of  files  to	 test.
	      Multiple file list can be	used by	using multiple '-f file' argu-

       SEE ALSO
	      file(1), filetype-compile(1), libfiletype(2).

				 April 5, 2004			   filetype(1)


Want to link to this manual page? Use this URL:

home | help