GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
filetype(1) FreeBSD 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 classify can be given on the command line as usual file arguments (i.e. after the options), or in a file where the files to classify are listed on separate lines, or in standard input. filetype tests against a binary database with information about file types, which should be located at /etc/filetype.spec unless you specify otherwise with the -s option. If the file is known, information about it is printed on standard output. Otherwise the tag "Unknown" is used.

-s filetype-spec file
Use this file to test against rather than the default /etc/filetype.spec
-h, --help
Show usage.
-v, --version
Show version.
-d, --debug
Print debugging messages (warning: large output)
--log-stdout
Send verbose/debug output to stdout.
--log-stderr
Send verbose/debug output to stderr.
--log-syslog
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' arguments.

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

April 5, 2004

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.